aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-06-25 15:49:49 -0700
committerDavid S. Miller <[email protected]>2018-06-26 23:24:07 +0900
commit68cc444dab1e70e59a719b7bf44bcaacbffa7496 (patch)
tree43dff5dc1e4652ec13c17e47b3147cf52e18a101 /lib/test_overflow.c
parenta6e65e5d2ca4b1d3ff4ac03e056f82b6854ed50e (diff)
mdio-mux-gpio: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this allocates the values buffer during the callback instead of putting it on the stack. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions