Thread (16 messages) 16 messages, 7 authors, 2018-03-08

[PATCH 0/3] Remove accidental VLA usage

flat view
STALE3155d

From: Kees Cook <hidden>
Date: 2018-03-08 03:30:44
Also in: linux-btrfs, lkml
Subsystem: btrfs file system, filesystems (vfs and infrastructure), library code, networking [general], the rest, vsprintf · Maintainers: David Sterba, Alexander Viro, Christian Brauner, Andrew Morton, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds, Petr Mladek, Steven Rostedt

This series adds SIMPLE_MAX() to be used in places where a stack array
is actually fixed, but the compiler still warns about VLA usage due to
confusion caused by the safety checks in the max() macro.

I'm sending these via -mm since that's where I've introduced SIMPLE_MAX(),
and they should all have no operational differences.

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