gdi32 (2/2): fix unchecked NULL ptr in BIDI_Reorder
Alexander Dorofeyev
alexd14 at hushmail.com
Tue Oct 23 02:50:36 CDT 2007
3rd try. In this version I don't create a temp buffer, instead pass the original
string to subroutines; in BidiLines an additional parameter had to be added, to
indicate that the original string has been passed and in-place modifications it
normally does on the buffer must be skipped.
Alexandre Julliard wrote:
> You shouldn't need to allocate a new buffer, the output modifications
> should be skipped when no output string is requested.
---
dlls/gdi32/bidi.c | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3772e181f62890af1ebd169501dd3f855e71af3a.diff
Type: text/x-patch
Size: 2553 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071023/5b5f82eb/attachment-0001.bin
More information about the wine-patches
mailing list