diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-09-23 12:12:55 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-09-23 12:12:58 +0200 |
commit | 99f729378f69b2985c559bc8639b2edd06d75233 (patch) | |
tree | 815c655200b0e38307a580e5d03c4dc20ecd06a7 /uhttpd-utils.h | |
parent | 68d8631ab66380a553cb14c10ee3908561b5a7db (diff) | |
download | uhttpd-99f729378f69b2985c559bc8639b2edd06d75233.tar.gz |
* 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 'uhttpd-utils.h')
0 files changed, 0 insertions, 0 deletions