Thread (10 messages) 10 messages, 3 authors, 2021-08-05

Re: [PATCH v3 0/3] Remove all strcpy() uses

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-08-05 11:18:36
Also in: dri-devel, linux-staging, lkml

On Sun, Aug 01, 2021 at 02:40:40PM +0300, Andy Shevchenko wrote:
On Sun, Aug 1, 2021 at 11:53 AM Len Baker [off-list ref] wrote:
quoted
strcpy() performs no bounds checking on the destination buffer. This
could result in linear overflows beyond the end of the buffer, leading
to all kinds of misbehaviors. So, this serie removes all strcpy uses
from the "staging/fbtft" subsystem.

Also, refactor the code a bit to follow the kernel coding-style and
avoid unnecessary variable initialization.
I don't see patch 3 (even on lore.kernel.org).

Greg, Geert, does it make sense to move this driver outside of staging?
If you clean up everything that needs to be done, yes, please do.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help