diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2018-05-10 10:52:14 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-05-18 13:17:30 +0200 |
commit | f9e8dc0abda94869d2734843c1c14ba6f2867031 (patch) | |
tree | d64677621fc69e0598c5ccad489ca2e55c5e1529 /fs | |
parent | 233719cc40b5a00f37949d4173c190edcb4491a1 (diff) |
gadget: f_thor: fix filename overflow
The thor sender can send filename without null character and it is
used without consideration of overflow. Actually, character array
for filename is assigned with DEFINE_CACHE_ALIGN_BUFFER() and it
is bigger than size of memcpy, so there was no real overflow.
Fix filename overflow for code level integrity.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions