On Sun, Mar 15, 2015 at 10:42 PM, Giuseppe Scrivano <gscriv...@gnu.org>
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