From 2a3dd53952606baf7e3cf76793ba151feeca371d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 22 Oct 2015 17:50:00 -0700 Subject: [PATCH] . --- service/ClusterGeoIpService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/ClusterGeoIpService.cpp b/service/ClusterGeoIpService.cpp index 90b0e3e62..b47a9b2a8 100644 --- a/service/ClusterGeoIpService.cpp +++ b/service/ClusterGeoIpService.cpp @@ -148,7 +148,7 @@ void ClusterGeoIpService::threadMain() else break; } for(long i=0;i sizeof(linebuf)) + if (lineptr > (long)sizeof(linebuf)) lineptr = 0; if ((buf[i] == '\n')||(buf[i] == '\r')) { linebuf[lineptr] = (char)0;