Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]

From: Andreas Schwab
Date: Tue Mar 05 2019 - 04:05:00 EST


On MÃr 05 2019, Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> wrote:

> interesting that the kernel's strlen implementation in
> include/linux/string.h can't achieve this.

This implementation is only available if ARCH_HAS_FORTIFY_SOURCE.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."