aboutsummaryrefslogtreecommitdiff
path: root/ports/solid3/potentially-uninitialized-local-pointer-variable.patch
diff options
context:
space:
mode:
authorRyan Saunders <saunders@aggienetwork.com>2019-04-10 23:07:17 -0700
committerRyan Saunders <saunders@aggienetwork.com>2019-04-10 23:07:17 -0700
commita492caf9d5a069987b6309c6cbf8e5cc8c3ec6a8 (patch)
tree11f6f1c5e3f4caa03f297162ffab9f79941f676c /ports/solid3/potentially-uninitialized-local-pointer-variable.patch
parent80965287d1483f98f49ba83e026f022369798990 (diff)
parentb625cbf82f792409fa59262546cb5ed1ef7944e3 (diff)
downloadvcpkg-a492caf9d5a069987b6309c6cbf8e5cc8c3ec6a8.tar.gz
vcpkg-a492caf9d5a069987b6309c6cbf8e5cc8c3ec6a8.zip
Merge branch 'master' into query_deps
Diffstat (limited to 'ports/solid3/potentially-uninitialized-local-pointer-variable.patch')
-rw-r--r--ports/solid3/potentially-uninitialized-local-pointer-variable.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/solid3/potentially-uninitialized-local-pointer-variable.patch b/ports/solid3/potentially-uninitialized-local-pointer-variable.patch
new file mode 100644
index 000000000..baec56793
--- /dev/null
+++ b/ports/solid3/potentially-uninitialized-local-pointer-variable.patch
@@ -0,0 +1,26 @@
+diff --git a/src/qhull/geom2.c b/src/qhull/geom2.c
+index bd58ce1..c4798d2 100644
+--- a/src/qhull/geom2.c
++++ b/src/qhull/geom2.c
+@@ -2080,7 +2080,7 @@ boolT qh_sharpnewfacets () {
+ pointT *qh_voronoi_center (int dim, setT *points) {
+ pointT *point, **pointp, *point0;
+ pointT *center= (pointT*)qh_memalloc (qh center_size);
+- setT *simplex;
++ setT *simplex= NULL;
+ int i, j, k, size= qh_setsize(points);
+ coordT *gmcoord;
+ realT *diffp, sum2, *sum2row, *sum2p, det, factor;
+diff --git a/src/qhull/io.c b/src/qhull/io.c
+index 79ca799..41c18bc 100644
+--- a/src/qhull/io.c
++++ b/src/qhull/io.c
+@@ -3740,7 +3740,7 @@ coordT *qh_readpoints(int *numpoints, int *dimension, boolT *ismalloc) {
+ coordT *points, *coords, *infinity= NULL;
+ realT paraboloid, maxboloid= -REALmax, value;
+ realT *coordp= NULL, *offsetp= NULL, *normalp= NULL;
+- char *s, *t, firstline[qh_MAXfirst+1];
++ char *s= NULL, *t, firstline[qh_MAXfirst+1];
+ int diminput=0, numinput=0, dimfeasible= 0, newnum, k, tempi;
+ int firsttext=0, firstshort=0, firstlong=0, firstpoint=0;
+ int tokcount= 0, linecount=0, maxcount, coordcount=0;