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
0c7ecacf
Commit
0c7ecacf
authored
Sep 18, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't do DVD_READ_STRUCTURE when inbuffer or outbuffer has issues (Coverity).
parent
e94df274
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cdrom.c
dlls/ntdll/cdrom.c
+3
-0
No files found.
dlls/ntdll/cdrom.c
View file @
0c7ecacf
...
...
@@ -2261,8 +2261,11 @@ NTSTATUS CDROM_DeviceIoControl(HANDLE hDevice,
sz
=
sizeof
(
DVD_LAYER_DESCRIPTOR
);
if
(
lpInBuffer
==
NULL
||
nInBufferSize
!=
sizeof
(
DVD_READ_STRUCTURE
))
status
=
STATUS_INVALID_PARAMETER
;
else
if
(
nOutBufferSize
<
sz
)
status
=
STATUS_BUFFER_TOO_SMALL
;
else
{
TRACE
(
"doing DVD_READ_STRUCTURE
\n
"
);
status
=
DVD_ReadStructure
(
fd
,
(
PDVD_READ_STRUCTURE
)
lpInBuffer
,
(
PDVD_LAYER_DESCRIPTOR
)
lpOutBuffer
);
}
break
;
case
IOCTL_SCSI_GET_INQUIRY_DATA
:
...
...
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