Commit 8ef517f3 authored by Vamsi Krishna Lanka's avatar Vamsi Krishna Lanka Committed by Treehugger Robot
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
Change-Id: I0af5e9169ff21f32471a777a43716b8780acdc60
Signed-off-by: default avatarVamsi Krishna Lanka <quic_vamslank@quicinc.com>
parent 8d607450
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment