update BusyBox 1.19.3 hotfixes
authorDennis Groenen <tj.groenen@gmail.com>
Tue, 31 Jan 2012 15:47:37 +0000 (16:47 +0100)
committerDennis Groenen <tj.groenen@gmail.com>
Tue, 31 Jan 2012 15:47:37 +0000 (16:47 +0100)
debian/patches/hotfixes/busybox-1.19.3-mdev.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/hotfixes/busybox-1.19.3-mdev.patch b/debian/patches/hotfixes/busybox-1.19.3-mdev.patch
new file mode 100644 (file)
index 0000000..653ac35
--- /dev/null
@@ -0,0 +1,11 @@
+--- busybox-1.19.3/util-linux/mdev.c
++++ busybox-1.19.3-mdev/util-linux/mdev.c
+@@ -610,7 +610,7 @@ int mdev_main(int argc UNUSED_PARAM, cha
+                               int seqlen;
+                               char seqbuf[sizeof(int)*3 + 2];
+-                              seqlen = open_read_close("mdev.seq", seqbuf, sizeof(seqbuf-1));
++                              seqlen = open_read_close("mdev.seq", seqbuf, sizeof(seqbuf) - 1);
+                               if (seqlen < 0) {
+                                       seq = NULL;
+                                       break;
index 45a6a22..6de06fa 100644 (file)
@@ -26,6 +26,7 @@ showkey-default-option.patch
 hotfixes/busybox-1.19.3-getty.patch
 hotfixes/busybox-1.19.3-modinfo.patch
 hotfixes/busybox-1.19.3-wget.patch
+hotfixes/busybox-1.19.3-mdev.patch
 
 #Patched pulled from busybox git
 git-backports/0001-lineedit-fix-atomic-replace-of-history-file-hush-fix.patch