haserl: bump 0.9.x version
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 1 Aug 2009 21:29:02 +0000 (23:29 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 1 Aug 2009 21:29:02 +0000 (23:29 +0200)
buffer overflow fix is now upstream

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/haserl/Config.in
package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch [deleted file]

index 0a5847857258cc5c23ec5bfb7bd907fda9a9083a..21ab63c9cf995b4a16954f340825fed811585db0 100644 (file)
@@ -30,4 +30,4 @@ endchoice
 config BR2_PACKAGE_HASERL_VERSION
        string
        default "0.8.0"         if BR2_PACKAGE_HASERL_VERSION_0_8_X
-       default "0.9.25"        if BR2_PACKAGE_HASERL_VERSION_0_9_X
+       default "0.9.26"        if BR2_PACKAGE_HASERL_VERSION_0_9_X
diff --git a/package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch b/package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch
deleted file mode 100644 (file)
index e6c959a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-haserl: array vars fix
-
-Fix buffer overflow error. Len is the length of the name= part of the
-name=value string, not the value part.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-Index: haserl-0.9.25/src/haserl.c
-===================================================================
---- haserl-0.9.25.orig/src/haserl.c    2009-07-20 15:05:26.000000000 +0200
-+++ haserl-0.9.25/src/haserl.c 2009-07-20 15:06:05.000000000 +0200
-@@ -269,7 +269,7 @@
-             /* if an array, create a new string with this
-              * value added to the end of the old value(s) 
-              */
--            temp = xmalloc (strlen (cur->buf) + len + 1);
-+            temp = xmalloc (strlen (cur->buf) + strlen(entry) - len + 1);
-             memmove (temp, cur->buf, strlen (cur->buf) + 1);
-             strcat (temp, "\n");
-             strcat (temp, str + keylen + 3);