diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-08-01 23:29:02 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-08-01 23:29:02 +0200 |
commit | ec386cbcdf437eff59432431289a6cf045c35910 (patch) | |
tree | 844633829db469af7dd7fce153d5eee897446fe5 /package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch | |
parent | bb14fc40195ec41824f9a17c537e3b5d2fa7a3ae (diff) | |
download | buildroot-novena-ec386cbcdf437eff59432431289a6cf045c35910.tar.gz buildroot-novena-ec386cbcdf437eff59432431289a6cf045c35910.zip |
haserl: bump 0.9.x version
buffer overflow fix is now upstream
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch')
-rw-r--r-- | package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch | 19 |
1 files changed, 0 insertions, 19 deletions
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 index e6c959a66..000000000 --- a/package/haserl/haserl-0.9.25/haserl-0.9.25-array-vars-fix.patch +++ /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); |