[PATCH v3 1/5] msxml3/tests: Don't '\0' terminate output after ::save().

Nikolay Sivov nsivov at codeweavers.com
Thu May 6 16:00:52 CDT 2021


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>

On 4/27/21 12:29 PM, Dmitry Timoshkov wrote:
> This fixes heap corruption when running the domdoc tests.
>
> v3: Apparently Windows 8 and later started to \0 terminate buffer in ::save, so
> to avoid test failures perform comparisons with memcmp() instead of strcmp().
Change is fine, however comment is incorrect I think. On Windows 10,
checking up to HGLOBAL size does not show any nulls.



More information about the wine-devel mailing list