r538: fixed a long existing bug in HPC k-mer (#47)

This bug may lead to a wrong minimizer when a HPC k-mer is longer than 256bp.
When there is a seed match involving this wrong HPC k-mer, the correct seed
sequences do not match in fact. This violates the assumption in align.c and
subsequently causes a segfault, which is what #47 has caught. This bug lurked
in the earliest piece of code and affected all released minimap2 versions so
far. It is extremely rare and does not affect the prebuilt GRCh37/38 indices.
This commit is contained in:
Heng Li
2017-10-28 19:21:10 -04:00
parent 79b0caca95
commit f22a94e868
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.3-r537-dirty"
#define MM_VERSION "2.3-r538-dirty"
#ifdef __linux__
#include <sys/resource.h>