RE: [PATCH v4 4/9] em28xx: fix em28xx_dvb_init for KASAN
From: David Laight <hidden>
Date: 2017-09-25 14:41:49
Also in:
linux-kbuild, linux-media, lkml, netdev, stable
From: David Laight <hidden>
Date: 2017-09-25 14:41:49
Also in:
linux-kbuild, linux-media, lkml, netdev, stable
From: Arnd Bergmann
Sent: 22 September 2017 22:29
...
It seems that this is triggered in part by using strlcpy(), which the compiler doesn't recognize as copying at most 'len' bytes, since strlcpy is not part of the C standard.
Neither is strncpy(). It'll almost certainly be a marker in a header file somewhere, so it should be possibly to teach it about other functions. David