Commit 0e559046 authored by Mayank Grover's avatar Mayank Grover
Browse files

app: aboot: Replace strncpy to strlcpy.

Replace strncpy to strlcpy. This is required as strncpy function
does not guarantee that the resultant string is NULL-terminated.
It also does not provide a standard way to check whether truncation
has occurred or not.

Change-Id: Iccde0dc8f3c3b3a9c29fcec8eb011863bc5b803c
parent 51d8f8e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment