[Getdata-commits] SF.net SVN: getdata:[863] trunk/getdata
Scientific Database Format
Brought to you by:
ketiltrout
|
From: <ket...@us...> - 2013-11-13 21:40:29
|
Revision: 863
http://sourceforge.net/p/getdata/code/863
Author: ketiltrout
Date: 2013-11-13 21:40:26 +0000 (Wed, 13 Nov 2013)
Log Message:
-----------
Fix segfault in RawEntry destructor. Patch from S. J. Benton.
Modified Paths:
--------------
trunk/getdata/ChangeLog
trunk/getdata/NEWS
trunk/getdata/bindings/cxx/rawentry.cpp
Modified: trunk/getdata/ChangeLog
===================================================================
--- trunk/getdata/ChangeLog 2013-10-26 02:36:47 UTC (rev 862)
+++ trunk/getdata/ChangeLog 2013-11-13 21:40:26 UTC (rev 863)
@@ -1,3 +1,7 @@
+2013-11-13 D. V. Wiebe <ge...@ke...> svn:863
+ * bindings/cxx/rawentry.cpp (RawEntry::RawEntry): Initialise filename.
+ Patch from S. J. Benton.
+
2013-10-26 D. V. Wiebe <ge...@ke...> svn:862
* src/getdata.h.in: Add GD_GETDATA_VERSION and GD_GETDATA_INT_VERSION
* configure.ac cmake/CMakeLists.txt: Calculate GD_GETDATA_VERSION and
Modified: trunk/getdata/NEWS
===================================================================
--- trunk/getdata/NEWS 2013-10-26 02:36:47 UTC (rev 862)
+++ trunk/getdata/NEWS 2013-11-13 21:40:26 UTC (rev 863)
@@ -58,6 +58,9 @@
* F95 BUG FIX: fgd_add and fgd_alter_entry no longer ignore named scalar
parameters provided in supplied entry structures.
+ * C++ BUG FIX: Fixed segfault in RawEntry distructor. Reported by S. J.
+ Benton.
+
|==============================================================================|
New in verison 0.8.5:
Modified: trunk/getdata/bindings/cxx/rawentry.cpp
===================================================================
--- trunk/getdata/bindings/cxx/rawentry.cpp 2013-10-26 02:36:47 UTC (rev 862)
+++ trunk/getdata/bindings/cxx/rawentry.cpp 2013-11-13 21:40:26 UTC (rev 863)
@@ -30,6 +30,7 @@
E.u.raw.spf = spf;
E.u.raw.data_type = (gd_type_t)data_type;
E.fragment_index = fragment_index;
+ filename = NULL;
}
RawEntry::~RawEntry()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|