uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:23:26 +0000 (17:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:23:26 +0000 (17:23 +0000)
commitcfc5c0c8b42d60ccad56179445bed71609a8c5c9
tree7a7104b7e2a02a4464fe3ba45862fc67a7437ea0
parent59dbb6ac93ce39fbe712eee45b1a46ba715aad7a
uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs

 * Fix the ubus plugin to not make its uhttpd_plugin entry symbol
   constant as uhttpd needs to modify its list_head member
 * Make sure that uhttpd supports large files by using 64bit ints
   where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
 * Plug a possible memleak in the directory listing code

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44135 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/uhttpd/Makefile