diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-03-02 09:05:01 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2018-03-24 13:59:32 +1030 |
commit | e4cf6ac8d9ae6a1398b9f3510ac4939de0148001 (patch) | |
tree | 31bf14c30f1d87c147a4a0a3d3b07efb0b44ed7f /test/sequence_numbers.c | |
parent | fe5cc8f6af4a17cda55d4c4d05c5a193023b9cdf (diff) | |
download | phosphor-mboxd-e4cf6ac8d9ae6a1398b9f3510ac4939de0148001.tar.gz phosphor-mboxd-e4cf6ac8d9ae6a1398b9f3510ac4939de0148001.zip |
mboxd_pnor_partition_table: Avoid using strcpy
Instead use strncpy() and specify the size of the destination buf, then
null-terminate the result.
Change-Id: I02b50010d4ba11feed5a96f27b3ec2bb50b2eabf
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test/sequence_numbers.c')
0 files changed, 0 insertions, 0 deletions