diff options
| author | Thomas Huth <thuth@redhat.com> | 2026-08-12 15:01:51 +0200 |
|---|---|---|
| committer | Paulo Alcantara <pc@manguebit.org> | 2026-08-24 17:08:53 -0300 |
| commit | 2f9af06e30b78ccb6f2708d89793180c29e4feef (patch) | |
| tree | a5fb52b9a187e6c7433347f62b2d91ae2757f763 /include/linux/stackprotector.h | |
| parent | 1a6bd74a27f1007b02c5a30aaa35608286bd0d23 (diff) | |
smb: client: Clear sensitive stack data in smb1encrypt.c
Make sure to not leak signature data via the stack, clear it
with memzero_explicit() before leaving the function.
To avoid that we have to introduce "goto"-cleanup here, we re-arrange
the code a little bit (and drop the commented cifs_dump_mem debug
code that looks like a leftover from very early days).
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
