aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorBjorn Andersson <[email protected]>2021-01-07 15:25:26 -0800
committerBjorn Andersson <[email protected]>2021-04-08 10:28:59 -0500
commit0648c55e3a21ccd816e99b6600d6199fbf39d23a (patch)
tree8ef8b6f1f50b74f5c8b10bdff5441212bdab4c41 /scripts/gdb/linux/tasks.py
parent84168d1b54e76a1bcb5192991adde5176abe02e3 (diff)
soc: qcom: mdt_loader: Detect truncated read of segments
Given that no validation of how much data the firmware loader read in for a given segment truncated segment files would best case result in a hash verification failure, without any indication of what went wrong. Improve this by validating that the firmware loader did return the amount of data requested. Fixes: 445c2410a449 ("soc: qcom: mdt_loader: Use request_firmware_into_buf()") Reviewed-by: Sibi Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions