bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Patch] fix bug #39175 Header value length limited with 2


From: Miquel Llobet
Subject: Re: [Bug-wget] [Patch] fix bug #39175 Header value length limited with 256
Date: Fri, 17 Apr 2015 12:57:49 +0200

On Sun, Mar 15, 2015 at 10:42 PM, Giuseppe Scrivano <address@hidden>
wrote:

> since there is a reasonable upperbound value, can't we just have
> something like: "char *hdrval = xmalloc(8192);"?
>

Done, I also changed all the resp_header_copy to resp_header_strdup to copy
the header dinamically. As a result resp_header_copy is now unused, should
it be deleted as headers have no fixed size?

I applied my changes on top of Hubert's gethttp single exit point patch, so
that should go first.

Best,
Miquel

Attachment: 0001-Patch-Fixed-39175-Header-value-length-limit.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]