From d47b585df138ea52940ee1d61df4d990fb44f9d6 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 7 Jul 2009 10:39:55 +0000 Subject: [PATCH] Release samtools-0.1.5b (BUG! so embarrassing!) --- bamtk.c | 2 +- sam.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bamtk.c b/bamtk.c index a8fea4b..536924c 100644 --- a/bamtk.c +++ b/bamtk.c @@ -4,7 +4,7 @@ #include "bam.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.1.5a (r381)" +#define PACKAGE_VERSION "0.1.5b (r383)" #endif int bam_taf2baf(int argc, char *argv[]); diff --git a/sam.c b/sam.c index d53aa0e..45cb05c 100644 --- a/sam.c +++ b/sam.c @@ -26,6 +26,7 @@ static void append_header_text(bam_header_t *header, char* text, int len) { int x = header->l_text + 1; int y = header->l_text + len + 1; // 1 byte null + if (text == 0) return; kroundup32(x); kroundup32(y); if (x < y) header->text = (char*)realloc(header->text, y); -- 2.39.5