diff options
author | Alexander Aring <[email protected]> | 2021-11-12 10:08:01 -0500 |
---|---|---|
committer | David Teigland <[email protected]> | 2021-11-12 09:38:19 -0600 |
commit | 6a628fa43810f861da50c593c69f2ead1c829231 (patch) | |
tree | 719245d47ef94ec6a23f635c948cf4992eb10f86 /scripts/gdb/linux/tasks.py | |
parent | c8b9f34e223fcad1e9980f343587f38624331bbc (diff) |
fs: dlm: fix potential buffer overflow
This patch fixes an potential overflow in sscanf and the maximum
declared string parsing length which seems to be excluding the null
termination symbol. This patch will just add one byte to be prepared on
a string with length of DLM_RESNAME_MAXLEN including the null
termination symbol.
Fixes: 5054e79de999 ("fs: dlm: add lkb debugfs functionality")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions