uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Jan 2015 17:23:26 +0000 (17:23 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Jan 2015 17:23:26 +0000 (17:23 +0000)
commite6147cbf5cb06b250978893144d4900e244ef0a5
tree7a7104b7e2a02a4464fe3ba45862fc67a7437ea0
parent92927ebcc2cf858cfe57680cb0911b3b3aaa3167
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