From 805bd2f9d717c019630293bcd82be25965d9f355 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Fri, 27 Oct 2017 13:00:13 +0100 Subject: [PATCH] imaptest.c: Don't free brkstring()'s value; it's re-used. Subsequent calls to brkstring() write to free'd memory, corrupting malloc()'s internal data. --- uip/imaptest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/uip/imaptest.c b/uip/imaptest.c index 66c033ce..0e721ce2 100644 --- a/uip/imaptest.c +++ b/uip/imaptest.c @@ -427,7 +427,6 @@ parse_capability(const char *cap, unsigned int len) } } - free(caplist); free(str); } -- 2.56.0