https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102918

            Bug ID: 102918
           Summary: Undefined behaviour in regex header (uininitialized
                    boolean)
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: camilotalero96 at hotmail dot com
  Target Milestone: ---

I am using undefined behaviour sanitizers and they are detecting a potential
bug in teh regex header, the specific report is:

`/usr/include/c++/11/bits/regex.h:909:15: runtime error: load of value 192,
which is not a valid value for type 'bool'`

Which does seem like the use of a potentially uninitialized boolean.
  • [Bug c++/102918] New: Undef... camilotalero96 at hotmail dot com via Gcc-bugs

Reply via email to