diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-02-15 15:21:30 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2020-02-15 10:33:19 -0800 |
commit | 3bf3c9744694803bd2d6f0ee70a6369b980530fd (patch) | |
tree | fd5cfc9f84d65e7b14e8f26bc585416223f19525 /arch/arm | |
parent | bab8f1ff17da0701bb580fcb025de6fca0da3dcf (diff) |
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/20200215142130.22743-1-marek.behun@nic.cz
Fixes: 5bc7f990cd98 ("bus: Add support for Moxtet bus")
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reported-by: sohu0106 <sohu0106@126.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions