Thread (2 messages) flat view 2 messages, 2 authors, 15d ago

Re: [PATCH v4] video: fbdev: via: refactor strcpy and viafb_name

From: Helge Deller <deller@gmx.de>
Date: 2026-08-18 12:25:05
Also in: dri-devel, lkml

On 8/18/26 13:17, Ajith P V wrote:
Eliminate the single-use file-scope variable `viafb_name` and pass the
"Via" string literal directly to strcpy().

Since "Via" is a literal constant, the compiler safely executes
compile-time bounds checking during fortify verification. This satisfies
the security initiative requirements while minimizing code complexity.

Signed-off-by: Ajith P V <redacted>
...
  drivers/video/fbdev/via/viafbdev.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
applied.

Thanks!
Helge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help