diff options
author | Johannes Schickel | 2014-06-09 22:45:25 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-06-09 22:46:54 +0200 |
commit | ff4c060be1c7c5a966fc432b0bf045f796892728 (patch) | |
tree | d87091429deda97f25ab3f21c43ee858a523da15 /test/common/endian.h | |
parent | bd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96 (diff) | |
download | scummvm-rg350-ff4c060be1c7c5a966fc432b0bf045f796892728.tar.gz scummvm-rg350-ff4c060be1c7c5a966fc432b0bf045f796892728.tar.bz2 scummvm-rg350-ff4c060be1c7c5a966fc432b0bf045f796892728.zip |
FULLPIPE: Use strlcpy instead of strncpy in some places.
strncpy does not assure that the result is 0 terminated. strlcpy does, which
makes this safer.
I only replaced strncpy usages where the memory was not allocated to the
correct size right before the strncpy usage.
Diffstat (limited to 'test/common/endian.h')
0 files changed, 0 insertions, 0 deletions