Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
12d39054
Commit
12d39054
authored
Jul 19, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix the buffer bounds check.
parent
3b1ab769
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+1
-1
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
12d39054
...
@@ -759,7 +759,7 @@ unsigned char *WINAPI NdrConformantStringUnmarshall( PMIDL_STUB_MESSAGE pStubMsg
...
@@ -759,7 +759,7 @@ unsigned char *WINAPI NdrConformantStringUnmarshall( PMIDL_STUB_MESSAGE pStubMsg
/* verify the buffer is safe to access */
/* verify the buffer is safe to access */
if
((
pStubMsg
->
Buffer
+
bufsize
<
pStubMsg
->
Buffer
)
||
if
((
pStubMsg
->
Buffer
+
bufsize
<
pStubMsg
->
Buffer
)
||
(
pStubMsg
->
Buffer
+
bufsize
<
pStubMsg
->
BufferEnd
))
(
pStubMsg
->
Buffer
+
bufsize
>
pStubMsg
->
BufferEnd
))
{
{
ERR
(
"bufsize 0x%x exceeded buffer end %p of buffer %p
\n
"
,
bufsize
,
ERR
(
"bufsize 0x%x exceeded buffer end %p of buffer %p
\n
"
,
bufsize
,
pStubMsg
->
BufferEnd
,
pStubMsg
->
Buffer
);
pStubMsg
->
BufferEnd
,
pStubMsg
->
Buffer
);
...
...
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