On Sun, Dec 30, 2007 at 01:55:00AM +0100, Michał Kiedrowicz wrote:
> https://bugs.gentoo.org/show_bug.cgi?id=203729

Probably this patch will fix the problem.

-- 
   Alexander.
Index: buffer.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/buffer.cc,v
retrieving revision 1.66
diff -u -p -r1.66 buffer.cc
--- buffer.cc   10 Sep 2007 11:45:27 -0000      1.66
+++ buffer.cc   3 Jan 2008 09:07:43 -0000
@@ -155,7 +155,7 @@ void Buffer::vFormat(const char *f, va_l
    {
       va_list tmp;
       VA_COPY(tmp,v);
-      int res=vsnprintf(GetSpace(size), size, f, v);
+      int res=vsnprintf(GetSpace(size), size, f, tmp);
       va_end(tmp);
       if(res>=0 && res<size)
       {

Reply via email to