summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorAlexey Brodkin <[email protected]>2018-01-29 22:58:24 +0300
committerTom Rini <[email protected]>2018-02-07 22:06:17 -0500
commit8639e34d2c5e12cc2e45c95b1a2e97c22bf6a711 (patch)
tree5530c592a371ab178ce6ab64df813623bfbbd941 /scripts/basic
parent6808ef9ac2a66a261bf341a99c3edb1e69f1cbdd (diff)
part: Allocate only one legacy_mbr buffer
Commit ff98cb90514d ("part: extract MBR signature from partitions") blindly switched allocated by ALLOC_CACHE_ALIGN_BUFFER buffer type from "unsigned char" to "legacy_mbr" which caused allocation of size = (typeof(legacy_mbr) * dev_desc->blksize) instead of just space enough for "legacy_mbr" structure. Signed-off-by: Alexey Brodkin <[email protected]> Cc: Rob Clark <[email protected]> Cc: Peter Jones <[email protected]> Cc: Alexander Graf <[email protected]> Cc: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions