1 From 5dca9eea1bd4263bfa4d037ab2443de1cd730f7e Mon Sep 17 00:00:00 2001
2 From: Daniel Veillard <veillard@redhat.com>
3 Date: Fri, 7 Apr 2017 17:13:28 +0200
4 Subject: [PATCH] Increase buffer space for port in HTTP redirect support
6 For https://bugzilla.gnome.org/show_bug.cgi?id=780690
8 nanohttp.c: the code wrongly assumed a short int port value.
11 1 file changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/nanohttp.c b/nanohttp.c
14 index e109ad75..373425de 100644
17 @@ -1423,9 +1423,9 @@ retry:
18 if (ctxt->port != 80) {
19 /* reserve space for ':xxxxx', incl. potential proxy */
27 bp = (char*)xmlMallocAtomic(blen);