projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
28e32ca
)
fix write on stack
author
Michael Wallner
<mike@php.net>
Tue, 5 Aug 2014 06:07:26 +0000
(08:07 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 5 Aug 2014 06:07:26 +0000
(08:07 +0200)
php_http_encoding.c
patch
|
blob
|
history
diff --git
a/php_http_encoding.c
b/php_http_encoding.c
index 403d781832c96ed1651b1edbff30a95aa895fa04..7f0462c78c1c5537e7ee2438fb74d2999836f368 100644
(file)
--- a/
php_http_encoding.c
+++ b/
php_http_encoding.c
@@
-53,7
+53,6
@@
const char *php_http_encoding_dechunk(const char *encoded, size_t encoded_len, c
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Data does not seem to be chunked encoded");
memcpy(*decoded, encoded, encoded_len);
*decoded_len = encoded_len;
- decoded[*decoded_len] = '\0';
return encoded + encoded_len;
} else {
efree(*decoded);