summaryrefslogtreecommitdiff
path: root/%3fid%3d1ff6f39c86b903499633ff13d7447fee4d81d1f6?id=5e4db62662a40fd73c911218a...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-11-11 12:00:57 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-11-11 12:18:16 +0100
commit5e4db62662a40fd73c911218a79bb984dc169b18 (patch)
tree6359da02cd8e36fb99ff2ee6208e2cd29dd2af3f /%3fid%3d1ff6f39c86b903499633ff13d7447fee4d81d1f6?id=5e4db62662a40fd73c911218a79bb984dc169b18
parent120f434967f069dace3aeab9a547b62b127d2c04 (diff)
src/io.c: Avoid use of memcpy()
Use strncpy() and a proper limit, which ensures we never read more characters than the buffer can hold. Also, ensure we always null-terminate strings here. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to '%3fid%3d1ff6f39c86b903499633ff13d7447fee4d81d1f6?id=5e4db62662a40fd73c911218a79bb984dc169b18')
0 files changed, 0 insertions, 0 deletions