mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
2bfb1e012a
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested input-buffer index against output-buffer length]. In reality, this would not typically cause an overflow on decode, where the output string would be expected to be shorter than the input string; and uh_urlencode() seems to have been unreferenced in the source. * Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the input-string. While this could manifest in C code, the result was most egregious when called from Lua, where it caused an extra null byte to be embedded at the end of the output string. * uh_urlencode() cleanup: removed redundant bitwise-and. Signed-off-by: David Favro <openwrt@meta-dynamic.com> SVN-Revision: 31569 |
||
---|---|---|
.. | ||
Makefile | ||
uhttpd-cgi.c | ||
uhttpd-cgi.h | ||
uhttpd-file.c | ||
uhttpd-file.h | ||
uhttpd-lua.c | ||
uhttpd-lua.h | ||
uhttpd-mimetypes.h | ||
uhttpd-tls.c | ||
uhttpd-tls.h | ||
uhttpd-utils.c | ||
uhttpd-utils.h | ||
uhttpd.c | ||
uhttpd.h |