Commit 3ee2a371 authored by Vamsi Krishna Lanka's avatar Vamsi Krishna Lanka Committed by Alistair Delva
Browse files

ANDROID: firmware_loader: Replace use of strcpy and strncpy with strscpy



strscpy is better choice than strcpy or strncpy to avoid any buffer underflow
or overflow issues, so, replace use of strcpy and strncpy with strscpy.

Fixes: d551647f ("ANDROID: firmware_loader: Add support for customer firmware paths")

Bug: 202192667
Signed-off-by: default avatarVamsi Krishna Lanka <quic_vamslank@quicinc.com>

Bug: 249684364
(cherry picked from commit 8ef517f3)
Signed-off-by: default avatarLecopzer Chen <lecopzer.chen@mediatek.com>
Change-Id: I0af5e9169ff21f32471a777a43716b8780acdc60
parent 7c3ba9b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment