merge r15071 to 8.09 (closes: #4834)
authorNicolas Thill <nico@openwrt.org>
Thu, 9 Apr 2009 11:05:29 +0000 (11:05 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 9 Apr 2009 11:05:29 +0000 (11:05 +0000)
SVN-Revision: 15163

package/busybox/Makefile
package/busybox/patches/810-lsmod-infinite-loop.patch [new file with mode: 0644]

index a302ade250a4e09a0cf89e9248d3cbb396a2aa04..21e2f4cf52e5f321b235877d958102057a2bfbaf 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=busybox
 PKG_VERSION:=1.11.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.busybox.net/downloads \
diff --git a/package/busybox/patches/810-lsmod-infinite-loop.patch b/package/busybox/patches/810-lsmod-infinite-loop.patch
new file mode 100644 (file)
index 0000000..8bc8cd0
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/modutils/lsmod.c
++++ b/modutils/lsmod.c
+@@ -107,7 +107,7 @@
+                               continue;
+                       } else if (errno != ENOSPC)
+                               bb_perror_msg_and_die("module %s: QM_REFS", mn);
+-                      deps = xrealloc(deps, count);
++                      deps = xrealloc(deps, depsize = count);
+               }
+               printf("%-20s%8lu%4ld", mn, info.size, info.usecount);
+               if (info.flags & NEW_MOD_DELETED)