aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorSteve Lee <[email protected]>2020-06-04 14:47:31 +0900
committerMark Brown <[email protected]>2020-06-04 15:04:30 +0100
commit97ed3e509ee6d098730d137759c627a8d674cf55 (patch)
tree7882c3fd83288bd028efc71061439ddf7d3060e3 /scripts/gdb/linux
parent678916ec54f38406032462dc466fd36cdfea4e3c (diff)
ASoC: max98390: Fix potential crash during param fw loading
malformed firmware file can cause out-of-bound access and crash during dsm_param bin loading. - add MIN/MAX param size to avoid out-of-bound access. - read start addr and size of param and check bound. - add condition that fw->size > param_size + _PAYLOAD_OFFSET to confirm enough data. Signed-off-by: Steve Lee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions