diff options
| author | Francis Laniel <[email protected]> | 2020-12-15 20:43:54 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-12-15 22:46:16 -0800 |
| commit | febebaf366868a4204deb3955ef5dda17f676fc1 (patch) | |
| tree | ecad89f7e968a84ea586af705e4404890bbb2a8b /tools/perf/scripts/python | |
| parent | 33e56a59e64dfb68778e5da0be13f0c47dc5d445 (diff) | |
drivers/misc/lkdtm: add new file in LKDTM to test fortified strscpy
This new test ensures that fortified strscpy has the same behavior than
vanilla strscpy (e.g. returning -E2BIG when src content is truncated).
Finally, it generates a crash at runtime because there is a write overflow
in destination string.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Francis Laniel <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Daniel Axtens <[email protected]>
Cc: Daniel Micay <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions