aboutsummaryrefslogtreecommitdiff
path: root/test/common/endian.h
diff options
context:
space:
mode:
authorJohannes Schickel2014-06-09 22:45:25 +0200
committerJohannes Schickel2014-06-09 22:46:54 +0200
commitff4c060be1c7c5a966fc432b0bf045f796892728 (patch)
treed87091429deda97f25ab3f21c43ee858a523da15 /test/common/endian.h
parentbd63ee2c4e6b5352cd28fa06f73135f0c9c5eb96 (diff)
downloadscummvm-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