diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-06 14:29:53 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-06 14:31:32 -0700 |
commit | 5d2f50294ddc0a6689ef5c30cc890f008a6ee173 (patch) | |
tree | 15f87aed92e1e7b2ddf13c298311019b3b334cdc /ext | |
parent | 21e1fd3f5c53ea3833d54c18e1a4b92e710e1189 (diff) | |
download | unicorn-5d2f50294ddc0a6689ef5c30cc890f008a6ee173.tar.gz |
Just in case, it'll be easier to track down if bugs pop up.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/unicorn_http/unicorn_http.rl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/unicorn_http/unicorn_http.rl b/ext/unicorn_http/unicorn_http.rl index f8649fe..1f22dfb 100644 --- a/ext/unicorn_http/unicorn_http.rl +++ b/ext/unicorn_http/unicorn_http.rl @@ -302,6 +302,7 @@ static void write_value(VALUE req, struct http_parser *hp, cs = http_parser_first_final; } ++p; + assert(p <= pe && "buffer overflow after chunked body"); goto post_exec; } |