aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2020-02-15 14:21:30 +0000
committerOlof Johansson <[email protected]>2020-02-15 18:33:19 +0000
commit3bf3c9744694803bd2d6f0ee70a6369b980530fd (patch)
treefd5cfc9f84d65e7b14e8f26bc585416223f19525 /drivers/mtd/lpddr/lpddr_cmds.c
parentMerge tag 'sti-dt-for-5.7-round1' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-3bf3c9744694803bd2d6f0ee70a6369b980530fd.tar.gz
kernel-3bf3c9744694803bd2d6f0ee70a6369b980530fd.zip
bus: moxtet: fix potential stack buffer overflow
The input_read function declares the size of the hex array relative to sizeof(buf), but buf is a pointer argument of the function. The hex array is meant to contain hexadecimal representation of the bin array. Link: https://lore.kernel.org/r/[email protected] Fixes: 5bc7f990cd98 ("bus: Add support for Moxtet bus") Signed-off-by: Marek BehĂșn <[email protected]> Reported-by: sohu0106 <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions