projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- avoid read beyond buffer
[m6w6/ext-http]
/
http_request_body_api.c
diff --git
a/http_request_body_api.c
b/http_request_body_api.c
index 467726bd84fccb90542416f32092ebb656b6106a..eb82c4266f194d0018f01a298a939f22ceaa2128 100644
(file)
--- a/
http_request_body_api.c
+++ b/
http_request_body_api.c
@@
-107,7
+107,7
@@
PHP_HTTP_API http_request_body *_http_request_body_fill(http_request_body *body,
}
}
}
}
- return http_request_body_init_
ex
(body, HTTP_REQUEST_BODY_CURLPOST, http_post_data[0], 0, 1);
+ return http_request_body_init_
rel
(body, HTTP_REQUEST_BODY_CURLPOST, http_post_data[0], 0, 1);
} else {
char *encoded;
} else {
char *encoded;
@@
-118,7
+118,7
@@
PHP_HTTP_API http_request_body *_http_request_body_fill(http_request_body *body,
return NULL;
}
return NULL;
}
- return http_request_body_init_
ex
(body, HTTP_REQUEST_BODY_CSTRING, encoded, encoded_len, 1);
+ return http_request_body_init_
rel
(body, HTTP_REQUEST_BODY_CSTRING, encoded, encoded_len, 1);
}
}
/* }}} */
}
}
/* }}} */