Re: [bug][6.1] Enable run-time checking of dynamic memcpy() and memmove() lengths causes warning on every boot at net/wireless/wext-core.c:623 (size 4)

From: Johannes Berg
Date: Mon Oct 10 2022 - 03:49:16 EST


On Sun, 2022-10-09 at 16:39 +0500, Mikhail Gavrilov wrote:
> Hi!
> Enable run-time checking of dynamic memcpy() and memmove() lengths
> causes warning on every boot:
> [ 19.544552] ------------[ cut here ]------------
> [ 19.545634] memcpy: detected field-spanning write (size 16) of
> single field "&compat_event->pointer" at net/wireless/wext-core.c:623
> (size 4)
>

https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=e3e6e1d16a4cf7b63159ec71774e822194071954


johannes