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
33d4125a
Commit
33d4125a
authored
Apr 19, 2015
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Potential buffer overwrite (Coverity).
parent
a57b06c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
cdrom.c
dlls/ntdll/cdrom.c
+5
-2
No files found.
dlls/ntdll/cdrom.c
View file @
33d4125a
...
...
@@ -3090,8 +3090,11 @@ NTSTATUS CDROM_DeviceIoControl(HANDLE hDevice,
sz
=
sizeof
(
DVD_REGION
);
if
(
lpInBuffer
!=
NULL
||
nInBufferSize
!=
0
)
status
=
STATUS_INVALID_PARAMETER
;
else
if
(
nOutBufferSize
<
sz
)
status
=
STATUS_BUFFER_TOO_SMALL
;
TRACE
(
"doing DVD_Get_REGION
\n
"
);
status
=
DVD_GetRegion
(
fd
,
lpOutBuffer
);
else
{
TRACE
(
"doing DVD_Get_REGION
\n
"
);
status
=
DVD_GetRegion
(
fd
,
lpOutBuffer
);
}
break
;
case
IOCTL_DVD_READ_STRUCTURE
:
sz
=
sizeof
(
DVD_LAYER_DESCRIPTOR
);
...
...
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