[Bug sanitizer/65435] UBsan runtime error reports in OpenSSL aes_core.c
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 16 11:36:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65435
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |mpolacek at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The integer promotions are performed on each of the operands (6.5.7#3). So
we're correct to convert u8 to int.
More information about the Gcc-bugs
mailing list