Skip to content
Commit 6ab0b6ba authored by Davide Grohmann's avatar Davide Grohmann
Browse files

Replace usage of forbidden strncpy with strscpy

strscpy copies max destination size -1 chars and ensures NULL
termination.  It also return an error if the destination buffer is too
small.

Change-Id: I88e9e5020b2b26ca50c12ae845dad070855a8bde
parent 8b1fe55b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment