gdi32 (2/2): fix unchecked NULL ptr in BIDI_Reorder

Alexandre Julliard julliard at
Tue Oct 23 12:44:33 CDT 2007

Alexander Dorofeyev <alexd14 at> writes:

> 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.

You should pass separate in and out pointers, since the input pointer
is const you can't use it in place of the output one.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list