Searched hist:e7654c3fbdb348a0c54244015d97f0a0b8773b8c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | diff e7654c3fbdb348a0c54244015d97f0a0b8773b8c Tue Mar 28 11:18:45 CDT 2023 Thomas Weißschuh <linux@weissschuh.net> tools/nolibc: tests: use volatile to force stack smashing
Use a volatile pointer to write outside the buffer so the compiler can't optimize it away.
Reported-by: Alexey Dobriyan <adobriyan@gmail.com> Link: https://lore.kernel.org/lkml/c0584807-511c-4496-b062-1263ea38f349@p183/ Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
|