Skip to content
Commit 73dc8328 authored by Piotr Wilczek's avatar Piotr Wilczek Committed by Tom Rini
Browse files

fs:fat: fix set file name function



Curently memcpy copies string without null terminating char because
function strlen returns only number of characters excluding
null terminating character. Replace memcpy with strcpy.

Signed-off-by: default avatarPiotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
CC: Tom Rini <trini@ti.com>
parent 01adbce2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment