Loading debian/changelog +3 −1 Original line number Diff line number Diff line Loading @@ -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@gmail.com> Mon, 20 Aug 2018 09:46:55 +0200 -- Liubov Chuprikova <chuprikovalv@gmail.com> Mon, 27 Aug 2018 11:37:43 +0200 kmer (0~20150903+r2013-4) unstable; urgency=medium Loading debian/patches/fix_wrong_evaluation_order.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line Author: Liubov Chuprikova <chuprikovalv@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 +1 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ allow-freebsd-build.patch atac-helper-script-paths.patch atac-readme.patch spelling.patch fix_wrong_evaluation_order.patch Loading
debian/changelog +3 −1 Original line number Diff line number Diff line Loading @@ -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@gmail.com> Mon, 20 Aug 2018 09:46:55 +0200 -- Liubov Chuprikova <chuprikovalv@gmail.com> Mon, 27 Aug 2018 11:37:43 +0200 kmer (0~20150903+r2013-4) unstable; urgency=medium Loading
debian/patches/fix_wrong_evaluation_order.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line Author: Liubov Chuprikova <chuprikovalv@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 +1 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ allow-freebsd-build.patch atac-helper-script-paths.patch atac-readme.patch spelling.patch fix_wrong_evaluation_order.patch