15a7a358ced33c49b4ba35f35b0644b6538a2ebb
[openwrt.git] / package / busybox / patches / 430-uniq_memleak.patch
1 Index: busybox-1.7.2/coreutils/uniq.c
2 ===================================================================
3 --- busybox-1.7.2.orig/coreutils/uniq.c 2007-10-30 15:34:59.000000000 -0500
4 +++ busybox-1.7.2/coreutils/uniq.c 2007-10-30 15:35:04.000000000 -0500
5 @@ -83,6 +83,8 @@
6
7 if (!s0 || strcmp(e0, e1)) {
8 break;
9 + } else {
10 + free(s1);
11 }
12
13 ++dups; /* Note: Testing for overflow seems excessive. */
This page took 0.042104 seconds and 3 git commands to generate.