You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/04/15 17:20:29 UTC

svn commit: r161483 - httpd/httpd/trunk/support/ab.c

Author: jorton
Date: Fri Apr 15 08:20:28 2005
New Revision: 161483

URL: http://svn.apache.org/viewcvs?view=rev&rev=161483
Log:
* support/ab.c (test): Treat POST data as a binary blob not a C
string.

PR: 12981
Submitted by: Matthew H. Gerlach <mg...@lightsurf.com>

Modified:
    httpd/httpd/trunk/support/ab.c

Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/support/ab.c?view=diff&r1=161482&r2=161483
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Fri Apr 15 08:20:28 2005
@@ -1621,7 +1621,7 @@
             return;
         }
         strcpy(buff, request);
-        strcpy(buff + reqlen, postdata);
+        memcpy(buff + reqlen, postdata, postlen);
         request = buff;
     }