Skip to content
Commit f9e8dc0a authored by Seung-Woo Kim's avatar Seung-Woo Kim Committed by Marek Vasut
Browse files

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: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
parent 233719cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment