summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@northern.tech>2018-04-04 11:09:57 +0300
committerTom Rini <trini@konsulko.com>2018-04-10 22:19:15 +0300
commit8a0b827b1a12cf3e224a4c083de7a1e448356a16 (patch)
treecaf763d47e8f3f8a4302d8635f524506726089b6 /scripts/checkpatch.pl
parent2f8ffb0655ccb7f5cc5568a52ff45272b19fa5d3 (diff)
downloadu-boot-8a0b827b1a12cf3e224a4c083de7a1e448356a16.tar.xz
fw_printenv: Fix crash due to incorrect size for malloc'ed string.
Using sizeof gives the size of the pointer only, not the string. This could easily lead to crashes when using -l argument. Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions