Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes an out-by-one bug. Thanks a million to Martin Szulecki for

reporting the problem.

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6816 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
commit dc3546761e982d9d9f49338765dce56ed8de167c 1 parent b0af2aa
@alobbs alobbs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cherokee/handler_file.c
View
2  cherokee/handler_file.c
@@ -855,7 +855,7 @@ cherokee_handler_file_step (cherokee_handler_file_t *fhdl, cherokee_buffer_t *bu
/* Ensure there's enough memory
*/
- cherokee_buffer_ensure_size (buffer, size);
+ cherokee_buffer_ensure_size (buffer, size + 1);
/* Read
*/
Please sign in to comment.
Something went wrong with that request. Please try again.