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

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Thanks,

I see a very similar warning with
m68k-linux-gnu-gcc but without sanitizer:

crypto/modes/cfb128.c: In function 'CRYPTO_cfb128_encrypt':
crypto/modes/cfb128.c:117:33: error: writing 1 byte into a region of size 0
[-Werror=stringop-overflow=]
  117 |                         ivec[n] = c;
      |                         ~~~~~~~~^~~
crypto/modes/cfb128.c:27:42: note: at offset 16 into destination object 'ivec'
of size [0, 16]
   27 |                            unsigned char ivec[16], int *num,
      |                            ~~~~~~~~~~~~~~^~~~~~~~
cc1: all warnings being treated as errors

Reply via email to