diff options
author | Joe Orton <jorton@apache.org> | 2005-04-15 17:20:28 +0200 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2005-04-15 17:20:28 +0200 |
commit | 5ffd6acf6a0201ddfbf40d981ec9e94c0f13189d (patch) | |
tree | 0d3fa6c2f6391d77fa43485da6fbc4fd691c1143 /support/ab.c | |
parent | Add redirect-carefully BrowserMatch for FrontPage. (diff) | |
download | apache2-5ffd6acf6a0201ddfbf40d981ec9e94c0f13189d.tar.xz apache2-5ffd6acf6a0201ddfbf40d981ec9e94c0f13189d.zip |
* support/ab.c (test): Treat POST data as a binary blob not a C
string.
PR: 12981
Submitted by: Matthew H. Gerlach <mgerlach@lightsurf.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/ab.c')
-rw-r--r-- | support/ab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/ab.c b/support/ab.c index a6c03de672..1ac3835510 100644 --- a/support/ab.c +++ b/support/ab.c @@ -1621,7 +1621,7 @@ static void test(void) return; } strcpy(buff, request); - strcpy(buff + reqlen, postdata); + memcpy(buff + reqlen, postdata, postlen); request = buff; } |