diff options
author | Davide Grohmann <davide.grohmann@arm.com> | 2022-05-17 16:11:14 +0200 |
---|---|---|
committer | Davide Grohmann <davide.grohmann@arm.com> | 2022-05-18 12:10:07 +0200 |
commit | 6ab0b6ba4dec4b0faadf310891b15de382db396f (patch) | |
tree | e31c745bfbc4150be0b7ccc58a69ab1562e80aad /LICENSE-APACHE-2.0.txt | |
parent | 8b1fe55bf4788ac85a0d8f9059ca0305904ddc5d (diff) | |
download | ethos-u-linux-driver-stack-6ab0b6ba4dec4b0faadf310891b15de382db396f.tar.gz |
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
Diffstat (limited to 'LICENSE-APACHE-2.0.txt')
0 files changed, 0 insertions, 0 deletions