[GRASS-SVN] r62480 - in grass/branches/releasebranch_7_0: . ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 29 07:45:16 PDT 2014


Author: annakrat
Date: 2014-10-29 07:45:16 -0700 (Wed, 29 Oct 2014)
New Revision: 62480

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/ps/ps.map/ps_vpoints.c
Log:
ps.map: fix uninitialized pointer found by coverity scan (merge from trunk, r62479)


Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
   - /grass/trunk:61095,61098-61099,61788,61897,62141,62327,62346,62352,62354,62356,62360,62364,62415,62425,62438,62440,62462,62477
   + /grass/trunk:61095,61098-61099,61788,61897,62141,62327,62346,62352,62354,62356,62360,62364,62415,62425,62438,62440,62462,62477,62479

Modified: grass/branches/releasebranch_7_0/ps/ps.map/ps_vpoints.c
===================================================================
--- grass/branches/releasebranch_7_0/ps/ps.map/ps_vpoints.c	2014-10-29 14:44:19 UTC (rev 62479)
+++ grass/branches/releasebranch_7_0/ps/ps.map/ps_vpoints.c	2014-10-29 14:45:16 UTC (rev 62480)
@@ -48,6 +48,7 @@
     PSCOLOR color;
 
     cv_rgb = NULL;
+    Symb = NULL;
 
     /* Create vector array if required */
     if (vector.layer[vec].cats != NULL || vector.layer[vec].where != NULL) {



More information about the grass-commit mailing list