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
8ba51495
Commit
8ba51495
authored
Oct 17, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Handle NULL szFileName in mmioOpen16 (Coverity).
parent
1ae60177
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mmio.c
dlls/winmm/mmio.c
+2
-0
No files found.
dlls/winmm/mmio.c
View file @
8ba51495
...
...
@@ -598,6 +598,8 @@ static HMMIO MMIO_Open(LPSTR szFileName, MMIOINFO* refmminfo, DWORD dwOpenFlags,
if
(
dwOpenFlags
&
(
MMIO_PARSE
|
MMIO_EXIST
))
{
char
buffer
[
MAX_PATH
];
if
(
!
szFileName
)
return
(
HMMIO
)
FALSE
;
if
(
GetFullPathNameA
(
szFileName
,
sizeof
(
buffer
),
buffer
,
NULL
)
>=
sizeof
(
buffer
))
return
(
HMMIO
)
FALSE
;
if
((
dwOpenFlags
&
MMIO_EXIST
)
&&
(
GetFileAttributesA
(
buffer
)
==
INVALID_FILE_ATTRIBUTES
))
...
...
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