From 2734acd65d1667d99902db2ce35741dd97e69f1c Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Mon, 24 Feb 2014 13:39:19 -0500 Subject: [PATCH] Make sure we don't modify the original text when processing the disposition header. --- uip/mhparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/mhparse.c b/uip/mhparse.c index 602ca40a..79fbb716 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -944,7 +944,7 @@ get_dispo (char *cp, CT ct) /* Save the whole copy of the Content-Disposition header */ - ct->c_dispo = add(cp, NULL); + cp = ct->c_dispo = add(cp, NULL); while (isspace ((unsigned char) *cp)) /* trim leading spaces */ cp++; -- 2.56.0