summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-09-23 12:12:55 +0200
committerJo-Philipp Wich <jow@openwrt.org>2014-09-23 12:12:58 +0200
commit99f729378f69b2985c559bc8639b2edd06d75233 (patch)
tree815c655200b0e38307a580e5d03c4dc20ecd06a7 /CMakeLists.txt
parent68d8631ab66380a553cb14c10ee3908561b5a7db (diff)
downloaduhttpd-master.tar.gz
Another round of path handling fixesHEADmaster
* In canonpath(): * Make sure the internal path_copy buffer is zero initialized, this guarantees a trailing \0 when copying the input to the buffer * Handle failing getcwd() * Copy path argument to the correct offset when converting relative to absolute paths * In uh_realpath(): * Fix off-by-one in strncpy() - usually the callers buffer is zero-initialized so the trailing \0 is present nonetheless but this makes the function safer to use Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions