[med-svn] [bwa] 01/03: remove workaround fix

Nadiya Sitdykova rovenskasa-guest at moszumanska.debian.org
Tue Jul 4 01:42:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

rovenskasa-guest pushed a commit to branch master
in repository bwa.

commit 0d751fab89a678bc495103e02be6921f084ce19b
Author: Nadiya Sitdykova <rovenskasa at gmail.com>
Date:   Mon Jul 3 20:31:13 2017 -0400

    remove workaround fix
---
 debian/patches/fix_wrong_type_casting | 20 --------------------
 debian/patches/series                 |  1 -
 2 files changed, 21 deletions(-)

diff --git a/debian/patches/fix_wrong_type_casting b/debian/patches/fix_wrong_type_casting
deleted file mode 100644
index d74baf8..0000000
--- a/debian/patches/fix_wrong_type_casting
+++ /dev/null
@@ -1,20 +0,0 @@
-Author: Nadiya Sitdykova
-Description: a workaround for incorrect implicit type casting. 
-The comparison end - beg < l_mseq incorrectly returned False 
-when end = 0, beg = 1, l_mseq = 149. Which led to further call 
-of malloc with negative argument.
-Last-Update: 2017-06-30
-Bug: https://github.com/lh3/bwa/issues/108
-
-=================================================================
---- bwa.orig/bwtsw2_pair.c
-+++ bwa/bwtsw2_pair.c
-@@ -117,7 +117,7 @@
- 	}
- 	if (beg < 1) beg = 1;
- 	if (end > l_pac) end = l_pac;
--	if (end - beg < l_mseq) return;
-+	if (end < beg || end - beg < l_mseq) return;
- 	// generate the sequence
- 	seq = malloc(l_mseq + (end - beg));
- 	ref = seq + l_mseq;
diff --git a/debian/patches/series b/debian/patches/series
index d2dadad..f3cbd59 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
 fix_heap_block_overrun
-fix_wrong_type_casting
 fix_build_on_freebsd.patch
 check_number_of_arguments.patch
 spelling.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bwa.git



More information about the debian-med-commit mailing list