From: Heng Li <lh3@live.co.uk>
Date: Mon, 2 Aug 2010 21:27:31 +0000 (+0000)
Subject: fixed a bug in bcf reader
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=72c783158852dda3f3ad76886a98f5d3354eab05;p=samtools.git

fixed a bug in bcf reader
---

diff --git a/bcf.c b/bcf.c
index 12f6634..8bd222d 100644
--- a/bcf.c
+++ b/bcf.c
@@ -101,7 +101,7 @@ int bcf_hdr_sync(bcf_hdr_t *b)
 
 int bcf_sync(int n_smpl, bcf1_t *b)
 {
-	char *p, *tmp[4], *s;
+	char *p, *tmp[5], *s;
 	int i, n, c;
 	// set ref, alt, flt, info, fmt
 	b->ref = b->alt = b->flt = b->info = b->fmt = 0;