[llvm-bugs] [Bug 48189] Unsigned Integer Overflow when comparing strings (|s1|<|s2|)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 16 02:07:06 PST 2020


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

Roman Lebedev <lebedev.ri at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |lebedev.ri at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Roman Lebedev <lebedev.ri at gmail.com> ---
This is working as intended.
`-fsanitize=integer`, which is *NOT* part of `-fsanitize=undefined`,
and for a reason, are not UB, but are frequently unintended,
and therefore checked by that sanitizer.

So this is not clang's bug.
I guess it's up to libstdc++ devs to decide whether they consider
the issues detected by that sanitizer as bugs or not.

-- 
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/20201116/2d57ebbc/attachment.html>


More information about the llvm-bugs mailing list