Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4587a322
Commit
4587a322
authored
Oct 17, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Protect MCI_SYSINFO against null buffers.
parent
3d8507bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mci.c
dlls/winmm/mci.c
+2
-1
No files found.
dlls/winmm/mci.c
View file @
4587a322
...
@@ -1834,7 +1834,8 @@ static DWORD MCI_SysInfo(UINT uDevID, DWORD dwFlags, LPMCI_SYSINFO_PARMSW lpParm
...
@@ -1834,7 +1834,8 @@ static DWORD MCI_SysInfo(UINT uDevID, DWORD dwFlags, LPMCI_SYSINFO_PARMSW lpParm
LPWINE_MCIDRIVER
wmd
;
LPWINE_MCIDRIVER
wmd
;
HKEY
hKey
;
HKEY
hKey
;
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
lpParms
==
NULL
||
lpParms
->
lpstrReturn
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
TRACE
(
"(%08x, %08X, %p[num=%d, wDevTyp=%u])
\n
"
,
TRACE
(
"(%08x, %08X, %p[num=%d, wDevTyp=%u])
\n
"
,
uDevID
,
dwFlags
,
lpParms
,
lpParms
->
dwNumber
,
lpParms
->
wDeviceType
);
uDevID
,
dwFlags
,
lpParms
,
lpParms
->
dwNumber
,
lpParms
->
wDeviceType
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment