[PATCH 2/9] xmllite: Don't fail in readerinput_detectencoding if input buffer has 3 bytes.
Jacek Caban
jacek at codeweavers.com
Tue Mar 28 10:27:17 CDT 2017
3 bytes are enough for detection code and we already have tests for
that, except they (accidentally, I assume) include null byte in the stream.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
dlls/xmllite/reader.c | 2 +-
dlls/xmllite/tests/reader.c | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-xmllite-Don-t-fail-in-readerinput_detectencoding-if-i.diff
Type: text/x-patch
Size: 1504 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170328/93756758/attachment-0001.bin>
More information about the wine-patches
mailing list