commit | 0e559046cca08e0951915819c69bf7a54d55d7ed | [log] [tgz] |
---|---|---|
author | Mayank Grover <groverm@codeaurora.org> | Wed Apr 11 17:49:30 2018 +0530 |
committer | Mayank Grover <groverm@codeaurora.org> | Wed Apr 11 18:13:19 2018 +0530 |
tree | 790b70191284587fa2708aa6fc956299a7942f6d | |
parent | 51d8f8e1e46aa830d50fba4bcd1e6560490e5bb7 [diff] |
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