From d26d465fa80771280ac1d2db883aafc45fde5939 Mon Sep 17 00:00:00 2001 From: Debian Med Packaging Team Date: Sat, 29 Jul 2017 09:38:27 +0100 Subject: [PATCH] fix-bufffer-overflow Gbp-Pq: Name fix-bufffer-overflow.patch --- filter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filter.c b/filter.c index 463028f..157e0ab 100644 --- a/filter.c +++ b/filter.c @@ -832,6 +832,7 @@ static void set_strlen(filter_t *flt, bcf1_t *line, token_t *tok) { char *se = ss; while ( *se && *se!=',' ) se++; + hts_expand(double, i+1, tok->mvalues, tok->values); if ( !*se ) tok->values[i] = strlen(ss); else { -- 2.30.2