Signed-off-by: Nikolay Sivov nsivov@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.