[Git][debian-gis-team/snaphu][master] 4 commits: New upstream version 2.0.3

Antonio Valentino gitlab at salsa.debian.org
Mon Nov 11 07:12:44 GMT 2019



Antonio Valentino pushed to branch master at Debian GIS Project / snaphu


Commits:
05c9db27 by Antonio Valentino at 2019-11-11T07:06:41Z
New upstream version 2.0.3
- - - - -
e0a9de03 by Antonio Valentino at 2019-11-11T07:06:42Z
Update upstream source from tag 'upstream/2.0.3'

Update to upstream version '2.0.3'
with Debian dir da4167812bd3ee8831c1b26f9bdaca71c09fd62f
- - - - -
7f8eedc9 by Antonio Valentino at 2019-11-11T07:07:26Z
New upstream release

- - - - -
20324de1 by Antonio Valentino at 2019-11-11T07:10:19Z
Refresh all patches

- - - - -


6 changed files:

- README
- README_releasenotes.txt
- debian/changelog
- debian/patches/0002-Spelling.patch
- src/snaphu.h
- src/snaphu_solver.c


Changes:

=====================================
README
=====================================
@@ -1,7 +1,7 @@
 SNAPHU
 Statistical-Cost, Netowrk-Flow Algorithm for Phase Unwrapping
 Author: Curtis W. Chen
-Version 2.0.2, October 2019
+Version 2.0.3, November 2019
 
 
 Contents


=====================================
README_releasenotes.txt
=====================================
@@ -1,3 +1,10 @@
+Notable changes in v2.0.3 since v2.0.2:
+---------------------------------------
+
+* Fixed limit-checking error that would sometimes cause segmentation fault when
+  width of masked area was only one pixel at right or bottom edges.
+  
+
 Notable changes in v2.0.2 since v2.0.1:
 ---------------------------------------
 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+snaphu (2.0.3-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+  * debian/patches:
+    - refresh all patches
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Mon, 11 Nov 2019 07:06:55 +0000
+
 snaphu (2.0.2-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/0002-Spelling.patch
=====================================
@@ -21,7 +21,7 @@ index 161cc25..a4ed3c9 100644
  preceding one, although round-off errors in flow-to-phase conversions
  may cause minor differences
 diff --git a/src/snaphu.h b/src/snaphu.h
-index b4cdc3e..7c33fc0 100644
+index 1659aa1..db35619 100644
 --- a/src/snaphu.h
 +++ b/src/snaphu.h
 @@ -407,7 +407,7 @@


=====================================
src/snaphu.h
=====================================
@@ -14,7 +14,7 @@
 /**********************/
 
 #define PROGRAMNAME          "snaphu"
-#define VERSION              "2.0.2"
+#define VERSION              "2.0.3"
 #define BUGREPORTEMAIL       "snaphu at gmail.com"
 #ifdef PI
 #undef PI


=====================================
src/snaphu_solver.c
=====================================
@@ -2095,7 +2095,7 @@ void GetArcGrid(nodeT *from, nodeT *to, long *arcrow, long *arccol,
     *arccol=fromcol;
     *arcdir=-1;
   }else if(fromrow==BOUNDARYROW){ /* arc from boundary pointer */  
-    if(tocol<ncol-1 && nodes[torow][tocol+1].group==BOUNDARYPTR){
+    if(tocol<ncol-2 && nodes[torow][tocol+1].group==BOUNDARYPTR){
       *arcrow=torow;
       *arccol=tocol+1;
       *arcdir=-1;
@@ -2103,7 +2103,7 @@ void GetArcGrid(nodeT *from, nodeT *to, long *arcrow, long *arccol,
       *arcrow=torow;
       *arccol=tocol;
       *arcdir=1;
-    }else if(torow<nrow-1 && nodes[torow+1][tocol].group==BOUNDARYPTR){
+    }else if(torow<nrow-2 && nodes[torow+1][tocol].group==BOUNDARYPTR){
       *arcrow=torow+1+nrow-1;
       *arccol=tocol;
       *arcdir=-1;
@@ -2113,7 +2113,7 @@ void GetArcGrid(nodeT *from, nodeT *to, long *arcrow, long *arccol,
       *arcdir=1;
     }
   }else if(torow==BOUNDARYROW){   /* arc to boundary pointer */
-    if(fromcol<ncol-1 && nodes[fromrow][fromcol+1].group==BOUNDARYPTR){
+    if(fromcol<ncol-2 && nodes[fromrow][fromcol+1].group==BOUNDARYPTR){
       *arcrow=fromrow;
       *arccol=fromcol+1;
       *arcdir=1;
@@ -2121,7 +2121,7 @@ void GetArcGrid(nodeT *from, nodeT *to, long *arcrow, long *arccol,
       *arcrow=fromrow;
       *arccol=fromcol;
       *arcdir=-1;
-    }else if(fromrow<nrow-1 && nodes[fromrow+1][fromcol].group==BOUNDARYPTR){
+    }else if(fromrow<nrow-2 && nodes[fromrow+1][fromcol].group==BOUNDARYPTR){
       *arcrow=fromrow+1+nrow-1;
       *arccol=fromcol;
       *arcdir=1;



View it on GitLab: https://salsa.debian.org/debian-gis-team/snaphu/compare/bc9386c26da9e2eb9c28a6e24b7fad79a300028c...20324de12069c66efefbaa83c35fac0228723b06

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/snaphu/compare/bc9386c26da9e2eb9c28a6e24b7fad79a300028c...20324de12069c66efefbaa83c35fac0228723b06
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/pkg-grass-devel/attachments/20191111/1e62c109/attachment-0001.html>


More information about the Pkg-grass-devel mailing list