aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-06-16 13:39:51 -0700
committerKalle Valo <[email protected]>2021-06-22 18:23:35 +0300
commit70ca8441ebfc4412dc9d3c56409e73dba959ab34 (patch)
tree8ea07c74e12ea05739f6ba371907fe45debedef5 /scripts/gdb/linux/tasks.py
parentb38678a73c4d8a3616ca14713154e062b4c4db63 (diff)
orinoco: Avoid field-overflowing memcpy()
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memcpy(), memmove(), and memset(), avoid intentionally writing across neighboring array fields. Validate the expected key size and introduce a wrapping structure to use as the multi-field memcpy() destination so that overflows can be correctly detected. Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions