[mapserver-commits] [mapserver/mapserver] 70a8c2: Replace `strlcpy` with `strncpy` in `msIO_stripStd...
GitHub
noreply at github.com
Fri Jun 28 05:57:37 PDT 2013
Branch: refs/heads/master
Home: https://github.com/mapserver/mapserver
Commit: 70a8c298edb84245321bd0080e21363ecc9a2fb3
https://github.com/mapserver/mapserver/commit/70a8c298edb84245321bd0080e21363ecc9a2fb3
Author: Homme Zwaagstra <hrz at geodata.soton.ac.uk>
Date: 2013-06-28 (Fri, 28 Jun 2013)
Changed paths:
M mapio.c
Log Message:
-----------
Replace `strlcpy` with `strncpy` in `msIO_stripStdoutBufferContentType()`
The use of `strlcpy` was producing *uninitialised value* errors in
valgrind. It appears this was due to the fact that `strlcpy` expects
the source string to be null terminated which is not always the case
in this context.
Commit: afaa433d5e464d6b8be41c85837be0e8d143e8aa
https://github.com/mapserver/mapserver/commit/afaa433d5e464d6b8be41c85837be0e8d143e8aa
Author: Thomas Bonfort <thomas.bonfort at gmail.com>
Date: 2013-06-28 (Fri, 28 Jun 2013)
Changed paths:
M mapio.c
Log Message:
-----------
Merge branch 'branch-6-2'
Compare: https://github.com/mapserver/mapserver/compare/f99df0bb5ad6...afaa433d5e46
More information about the mapserver-commits
mailing list