diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2023-03-28 18:18:45 +0200 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2023-06-09 11:33:04 -0700 |
| commit | e7654c3fbdb348a0c54244015d97f0a0b8773b8c (patch) | |
| tree | e69ca4275e0e40254f8ebe6e860b8c8c5deec121 /scripts/stackusage | |
| parent | Linux 6.4-rc1 (diff) | |
| download | linux-e7654c3fbdb348a0c54244015d97f0a0b8773b8c.tar.gz linux-e7654c3fbdb348a0c54244015d97f0a0b8773b8c.zip | |
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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
