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
d177a97d
Commit
d177a97d
authored
Sep 10, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fixed single byte array overflow.
parent
b27e814d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wsprintf.c
dlls/user32/wsprintf.c
+2
-2
No files found.
dlls/user32/wsprintf.c
View file @
d177a97d
...
...
@@ -316,7 +316,7 @@ static INT wvsnprintfA( LPSTR buffer, UINT maxlen, LPCSTR spec, __ms_va_list arg
WPRINTF_FORMAT
format
;
LPSTR
p
=
buffer
;
UINT
i
,
len
,
sign
;
CHAR
number
[
2
0
];
CHAR
number
[
2
1
];
/* 64bit number can be 18446744073709551616 which is 20 chars. and a \0 */
WPRINTF_DATA
argData
;
TRACE
(
"%p %u %s
\n
"
,
buffer
,
maxlen
,
debugstr_a
(
spec
));
...
...
@@ -421,7 +421,7 @@ static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, __ms_va_list a
WPRINTF_FORMAT
format
;
LPWSTR
p
=
buffer
;
UINT
i
,
len
,
sign
;
CHAR
number
[
2
0
];
CHAR
number
[
2
1
];
/* 64bit number can be 18446744073709551616 which is 20 chars. and a \0 */
WPRINTF_DATA
argData
;
TRACE
(
"%p %u %s
\n
"
,
buffer
,
maxlen
,
debugstr_w
(
spec
));
...
...
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