summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ifilter.c b/ifilter.c
index 19f1457..c23b304 100644
--- a/ifilter.c
+++ b/ifilter.c
@@ -195,6 +195,7 @@ static void suhosin_server_encode(HashTable *arr, char *key, int klen)
195 } 195 }
196 *n = 0; 196 *n = 0;
197 197
198 /* XXX: we leak memory here, but only for the duration of the request */
198 Z_STRVAL_PP(tzval) = (char *)newv; 199 Z_STRVAL_PP(tzval) = (char *)newv;
199 Z_STRLEN_PP(tzval) = n-newv; 200 Z_STRLEN_PP(tzval) = n-newv;
200 } 201 }