Re: Patch to fix ICU flush and pivot buffer

Joel Hockey <[email protected]>
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <CAJJNyZZmtP1-=1g2q3NUPFOvLu8QFT_yjH1-ZFtXnM-K0Zpiow@mail.gmail.com>
Thanks Nick.  Nice work with the test.



On Sun, Nov 5, 2017 at 2:04 AM, Nick Wellnhofer <[email protected]> wrote:

> On 26/10/2017 03:17, Joel Hockey wrote:
>
>> I've updated the patch using git format-patch.
>>
>
> Thanks for the updated patch. Applied here: https://git.gnome.org/browse/l
> ibxml2/commit/?id=0b19f236a263a7b0acacd4ea84dc7237303ee3d9
>
> The original bug found by fuzzer only relates to UTF8 decoding, so using
>> Shift-JIS or anything else wont help.
>>
>
> Why not? My reasoning was that ICU uses the same code path for all
> variable-width encodings. I simply converted your test file to EUC-JP and
> it turns out that this triggers the bug as well:
>
> https://git.gnome.org/browse/libxml2/commit/?id=72182550926d
> 31ad17357bd3ed69e49d7e69df02
>
> Nick
>

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.