diff options
| -rw-r--r-- | ifilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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 | } |
