commit | 16b74aab44247fdf111ee2686a1b7e1815bb2464 | [log] [tgz] |
---|---|---|
author | Seung-Woo Kim <sw0312.kim@samsung.com> | Thu May 10 10:52:14 2018 +0900 |
committer | Marek Vasut <marex@denx.de> | Fri May 18 13:17:30 2018 +0200 |
tree | d64677621fc69e0598c5ccad489ca2e55c5e1529 | |
parent | 93c7a11f64ee88a53eed0b3ecd4a86c9592528d8 [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>