https://bugs.llvm.org/show_bug.cgi?id=50108

Sebastian Pipping <sebast...@pipping.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Sebastian Pipping <sebast...@pipping.org> ---
Hi Dimitry,

great analysis of yours, very nice!

My apology for misreading the ASan output as ASan itself having a problem — I
made some assumptions that I should have verified before posting here.

With regard to the code involved, after some further analysis my understanding
is that that pointer is okay and expected to be NULL for UTF-16 encodings (both
big- and little-endian flavors), just macro IS_INVALID_CHAR does the wrong
thing when macro XML_MIN_SIZE is defined (as with our case).  I'm assuming for
now that because its of the non-default nature of macro XML_MIN_SIZE, this
issue has gone unnoticed for years (but that remains to be verified).

Thanks for your pointer in the right direction.  I'll close the ticket as
invalid now.

Best



Sebastian

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to