aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-10-19 17:50:04 +0100
committerChris Wilson <[email protected]>2020-10-20 10:16:54 +0100
commitd7085b0faac8330b67e1b10ff2dadd8af6b2564e (patch)
tree0a1dec0f725037c5c66e3cf1fbc779ab9abbb6ed /lib/test_fortify/write_overflow-strcpy.c
parentfa812ce96a46efc27cae4dcad866aaee9cb25d28 (diff)
drm/i915/gem: Poison stolen pages before use
When allocating objects from stolen, memset() the backing store to POISON_INUSE (0x5a) to help identify any uninitialised use of a stolen object. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions