[llvm-bugs] [Bug 50108] [11.1.0, 12.0.0] AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x7ffdc47fa0b0 sp 0x7ffdc47f9e18 T0)
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 24 13:14:22 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50108
Sebastian Pipping <sebastian at pipping.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Sebastian Pipping <sebastian at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210424/c975e6c4/attachment.html>
More information about the llvm-bugs
mailing list