Kouhei Sutou
null+****@clear*****
Thu Mar 12 13:30:56 JST 2015
Kouhei Sutou 2015-03-12 13:30:56 +0900 (Thu, 12 Mar 2015) New Revision: f46fe56b216d8cfd4d92e1a45a234dbe6d6c66d5 https://github.com/groonga/groonga/commit/f46fe56b216d8cfd4d92e1a45a234dbe6d6c66d5 Message: http: fix a bug that touching out of buffer... Modified files: src/groonga.c Modified: src/groonga.c (+1 -1) =================================================================== --- src/groonga.c 2015-03-12 11:25:09 +0900 (50c7f39) +++ src/groonga.c 2015-03-12 13:30:56 +0900 (9266504) @@ -1237,7 +1237,7 @@ do_htreq_post(grn_ctx *ctx, grn_msg *msg) read_content_length += buffer_end - buffer_start; rc = GRN_SUCCESS; - buffer_current = buffer_end; + buffer_current = buffer_end - 1; for (; rc == GRN_SUCCESS && buffer_current > buffer_start; buffer_current--) { -------------- next part -------------- HTML����������������������������...Download