*** This bug is a duplicate of bug 67553 ***
That other bug report contained a patch. This patch has fixed this in feisty
and there is already SRU request to get this to edgy too, but applying this and
recompiling should solve the problem.
I mark this as a duplicate
diff -u siege_orig/siege-2.65/src/http.c siege_test/siege-2.65/src/http.c
--- siege_orig/siege-2.65/src/http.c 2006-12-06 18:27:48.000000000 +0200
+++ siege_test/siege-2.65/src/http.c 2006-12-06 18:41:42.000000000 +0200
@@ -292,7 +292,7 @@
while(TRUE){
x = 0;
- memset(&line, 0, sizeof(line));
+ memset(line, 0, len);
while((n = socket_read(C, &c, 1)) == 1){
if(x >= len){
len += 2048;
diff -u siege_orig/siege-2.65/src/url.c siege_test/siege-2.65/src/url.c
--- siege_orig/siege-2.65/src/url.c 2005-12-08 16:49:48.000000000 +0200
+++ siege_test/siege-2.65/src/url.c 2006-12-06 18:32:17.000000000 +0200
@@ -361,7 +361,6 @@
(U->protocol==HTTP)?"http://":"https://", U->hostname, U->port, U->pathname
);
- xfree(tmp);
return(U);
}
** This bug has been marked a duplicate of bug 67553
double free or corruption in siege
--
Entire Crash
https://launchpad.net/bugs/60091
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs