summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.15.1-uniq.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-09-27 23:17:43 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-09-27 23:17:43 +0200
commit255c8ea89c50a7ebc25d0202aef6f6ae53afdd51 (patch)
treee2d2f3303b96cac0260a8009c9ed19551f26cb30 /package/busybox/busybox-1.15.1-uniq.patch
parentaa59f70425e25e8f6ae9a15445d71de4d3cc1b52 (diff)
busybox: additional 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.15.1-uniq.patch')
-rw-r--r--package/busybox/busybox-1.15.1-uniq.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.15.1-uniq.patch b/package/busybox/busybox-1.15.1-uniq.patch
new file mode 100644
index 000000000..0055544b0
--- /dev/null
+++ b/package/busybox/busybox-1.15.1-uniq.patch
@@ -0,0 +1,11 @@
+diff -urpN busybox-1.15.1/coreutils/uniq.c busybox-1.15.1-uniq/coreutils/uniq.c
+--- busybox-1.15.1/coreutils/uniq.c 2009-09-12 17:55:58.000000000 +0200
++++ busybox-1.15.1-uniq/coreutils/uniq.c 2009-09-23 12:56:09.132695142 +0200
+@@ -84,6 +84,7 @@ int uniq_main(int argc UNUSED_PARAM, cha
+ break;
+ }
+
++ free(s1);
+ ++dups; /* note: testing for overflow seems excessive. */
+ }
+