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:
749dbba
)
coverity fix
author
Michael Wallner
<mike@php.net>
Wed, 14 Sep 2016 09:39:25 +0000
(11:39 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 14 Sep 2016 09:39:25 +0000
(11:39 +0200)
src/php_http_encoding.c
patch
|
blob
|
history
diff --git
a/src/php_http_encoding.c
b/src/php_http_encoding.c
index 6d32652a7acd43278339238d0fba46726e49a01f..8c29216ab7added98c5fcdb84823f2d6c7ead1d7 100644
(file)
--- a/
src/php_http_encoding.c
+++ b/
src/php_http_encoding.c
@@
-64,7
+64,7
@@
const char *php_http_encoding_dechunk(const char *encoded, size_t encoded_len, c
/* reached the end */
if (!chunk_len) {
/* move over '0' chunked encoding terminator and any new lines */
-
do
{
+
while(1)
{
switch (*e_ptr) {
case '0':
case '\r':
@@
-72,7
+72,8
@@
const char *php_http_encoding_dechunk(const char *encoded, size_t encoded_len, c
++e_ptr;
continue;
}
- } while (0);
+ break;
+ }
break;
}