[Bug c/90882] Possible security breach through undefined behavior when treating boolean as int
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 14 02:37:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90882
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
If you use -fsanitizer=undefined, it will be able to find this incorrect
behavior.
More information about the Gcc-bugs
mailing list