[med-svn] [Git][med-team/kmer][master] Add a patch to fix wrong evaluation order of an expression

Liubov Chuprikova gitlab at salsa.debian.org
Mon Aug 27 11:11:42 BST 2018


Liubov Chuprikova pushed to branch master at Debian Med / kmer


Commits:
c3bcaa28 by Liubov Chuprikova at 2018-08-27T10:11:01Z
Add a patch to fix wrong evaluation order of an expression

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/fix_wrong_evaluation_order.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -3,8 +3,10 @@ kmer (0~20150903+r2013-5) UNRELEASED; urgency=medium
   * Team upload.
   * Add autopkgtest.
   * Standards-Version: 4.2.0
+  * Add a patch to fix wrong evaluation order in an expression
+    Closes: #906980
 
- -- Liubov Chuprikova <chuprikovalv at gmail.com>  Mon, 20 Aug 2018 09:46:55 +0200
+ -- Liubov Chuprikova <chuprikovalv at gmail.com>  Mon, 27 Aug 2018 11:37:43 +0200
 
 kmer (0~20150903+r2013-4) unstable; urgency=medium
 


=====================================
debian/patches/fix_wrong_evaluation_order.patch
=====================================
@@ -0,0 +1,15 @@
+Author: Liubov Chuprikova <chuprikovalv at gmail.com>
+Last-Update: Mon, 27 August 2018 11:24:36 +0200
+Description: Fix a piece of code that has unpredictable results
+
+
+--- a/atac-driver/libatac/atacMatchList.C
++++ b/atac-driver/libatac/atacMatchList.C
+@@ -47,5 +47,6 @@
+ 
+   memcpy(&_matches[_matchesLen], &m, sizeof(atacMatch));
+ 
+-  _matches[_matchesLen].matchiid = _matchesLen++;
++  _matches[_matchesLen].matchiid = _matchesLen;
++  _matchesLen++;
+ }


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ allow-freebsd-build.patch
 atac-helper-script-paths.patch
 atac-readme.patch
 spelling.patch
+fix_wrong_evaluation_order.patch



View it on GitLab: https://salsa.debian.org/med-team/kmer/commit/c3bcaa2895258123dbf29e90a231c33074c6a264

-- 
View it on GitLab: https://salsa.debian.org/med-team/kmer/commit/c3bcaa2895258123dbf29e90a231c33074c6a264
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180827/8ca6e2f3/attachment-0001.html>


More information about the debian-med-commit mailing list