Aric Stewart : gdiplus: In GdipDrawString do not NULL terminate the buffer. It is unneeded and overruns the buffer.
Module: wine Branch: master Commit: 43caae838611248314d7e79284f88f613fe14d12 URL: http://source.winehq.org/git/wine.git/?a=commit;h=43caae838611248314d7e79284... Author: Aric Stewart <aric(a)codeweavers.com> Date: Fri Feb 13 10:15:59 2009 -0600 gdiplus: In GdipDrawString do not NULL terminate the buffer. It is unneeded and overruns the buffer. --- dlls/gdiplus/graphics.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 2673042..9df9e21 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -1901,7 +1901,6 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string j++; } - stringdup[j] = 0; length = j; while(sum < length){
participants (1)
-
Alexandre Julliard