From: Debian Med Packaging Team Date: Sat, 29 Jul 2017 08:38:27 +0000 (+0100) Subject: fix-bufffer-overflow X-Git-Tag: archive/raspbian/1.4.1-3+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d26d465fa80771280ac1d2db883aafc45fde5939;p=bcftools.git fix-bufffer-overflow Gbp-Pq: Name fix-bufffer-overflow.patch --- 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 {