mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdiplus: In GdipDrawString do not NULL terminate the buffer. It is unneeded and overruns the buffer.
This commit is contained in:
parent
d916d98d02
commit
43caae8386
1 changed files with 0 additions and 1 deletions
|
@ -1901,7 +1901,6 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
|
|||
j++;
|
||||
}
|
||||
|
||||
stringdup[j] = 0;
|
||||
length = j;
|
||||
|
||||
while(sum < length){
|
||||
|
|
Loading…
Reference in a new issue