From f4447b1d4e09bfe73afa6d8710cc3c2a41a69ffd Mon Sep 17 00:00:00 2001 From: taji Date: Fri, 24 Feb 2017 01:59:02 -1000 Subject: [PATCH] hskymon-2.8.11-20170223 --- http-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-client.c b/http-client.c index b98b46c..113668f 100644 --- a/http-client.c +++ b/http-client.c @@ -2596,7 +2596,7 @@ void unchunk(gchar *dss_tmp){ g_free(chunkptr); if(chunk_size==0) break; - if(chunk_size>BUFFSIZE-2){ + if(chunk_size>BUFFSIZE-crlf_size){ fprintf(stderr, "!!! Buffer size overflow. Stopped to convert\"%s\".\n", dss_tmp); fflush(stderr); break;