aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2017-06-15 13:46:01 +0200
committerJean Delvare <[email protected]>2017-06-15 13:46:01 +0200
commita814c3597a6b6040e2ef9459748081a6d5b7312d (patch)
tree2151e7cb68fdc59acb066c603c311480e8540225 /lib/memory-notifier-error-inject.c
parente0733e975385d25d88c1384dafb8ea4dcf7513c0 (diff)
firmware: dmi_scan: Check DMI structure length
Before accessing DMI data to record it for later, we should ensure that the DMI structures are large enough to contain the data in question. Signed-off-by: Jean Delvare <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions