aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-21 21:44:15 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-21 21:44:15 +0100
commitbb06f65290c2526d214302ba43bb6bc363cd4868 (patch)
treee7d7ac50f27837a2ffdc874d3e9cb3fe3bd93481 /NEWS
parent5e3ef5153fe6aa2190ffa185009fa45e3549469d (diff)
downloadmig-bb06f65290c2526d214302ba43bb6bc363cd4868.tar.gz
mig-bb06f65290c2526d214302ba43bb6bc363cd4868.tar.bz2
mig-bb06f65290c2526d214302ba43bb6bc363cd4868.zip
Fix variable-sized c strings
Previously, the terminating zero of variable-sized c strings was only included when copying the message if the length of the string was not a multiple of four. mig_strncpy returns the length of the string excluding the terminating zero. Fix this by properly accounting for the byte for the terminating zero in the array length. * server.c (WritePackArgValue): Account for the terminating zero in the array length. * user.c (WritePackArgValue): Likewise.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions