commit | 266a0ed4c6a50dd80e7586ea020c5e963f4dd37b | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Mon Feb 04 16:34:56 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Fri Feb 08 16:21:57 2019 +0000 |
tree | aab30bd2b0f647987dd78f3940d68884c41844e9 | |
parent | 5eb1f27ac0f48ad012884b86d577ca27608bfdc5 [diff] |
builtin-run: Replace strncpy calls with strlcpy There are two uses of strncpy in builtin-run.c, where we don't make proper use of strncpy, so that GCC 8.x complains and aborts compilation. Replace those two calls with strlcpy(), which does the right thing in our case. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>