I'm sorry. There were oversight.
Please add following to "my patch 1 of 2".


diff -Nur ./polipo-master/util.c ./polipo-1.1.2/util.c
--- ./polipo-master/util.c      Fri Nov 21 09:15:36 2014
+++ ./polipo-1.1.2/util.c       Tue Apr 28 18:37:23 2015
@@ -71,8 +71,10 @@
     if(n < 0) return -2;
     while(i < slen && n < len)
         buf[n++] = s[i++];
-    if(n < len)
+    if(n < len) {
+        buf[n] = 0;
         return n;
+    }
     else
         return -1;
 }

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to