*** This bug is a duplicate of bug 67553 ***
On 21/12/06, ville palo <[EMAIL PROTECTED]> wrote:
> *** 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.
>
Great! I hope this patch can be accepted as soon as possible
> 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);
I don't know what does memset() but why not check the line length
first? Is like an implementation of malloc() ?
>
--
http://www.advogato.org/person/mgonzalez/
--
Entire Crash
https://launchpad.net/bugs/60091
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs