gdiplus: In GdipDrawString do not NULL terminate the buffer. It is unneeded and overruns the buffer.

This commit is contained in:
Aric Stewart 2009-02-13 10:15:59 -06:00 committed by Alexandre Julliard
parent d916d98d02
commit 43caae8386

View file

@ -1901,7 +1901,6 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
j++;
}
stringdup[j] = 0;
length = j;
while(sum < length){