aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/sbus
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-09-05 15:03:51 -0700
committerDavid S. Miller <[email protected]>2018-10-07 22:42:00 -0700
commit31a43fa7945a1de8c550b35c211be5670e32f12b (patch)
tree4e2bc3c2bea2aa6b4e644013718cefc9e99f7e37 /drivers/sbus
parentsbus: Use of_get_child_by_name helper (diff)
downloadwireguard-linux-31a43fa7945a1de8c550b35c211be5670e32f12b.tar.xz
wireguard-linux-31a43fa7945a1de8c550b35c211be5670e32f12b.zip
sparc64: viohs: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this allocates a fixed size array for the maximum number of cookies and adds a runtime sanity check. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1 [email protected] Signed-off-by: Kees Cook <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions
OSZAR »