[Bug tree-optimization/81694] VRP optimization may introduce buffer overflow vulnerabilities into applications

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 3 13:17:00 GMT 2017


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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Overflow cannot be checked after the fact. It needs to be checked before the
overflow has happened.  Just like a buffet overflow should not be checked
after.


More information about the Gcc-bugs mailing list