rpms/opensp/devel opensp-sigsegv.patch, NONE, 1.1 opensp.spec, 1.15, 1.16

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Thu Jun 21 12:44:13 UTC 2007


Author: ovasik

Update of /cvs/extras/rpms/opensp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4878

Modified Files:
	opensp.spec 
Added Files:
	opensp-sigsegv.patch 
Log Message:
fixed bad ugly sigsegv bug

opensp-sigsegv.patch:

--- NEW FILE opensp-sigsegv.patch ---
--- OpenSP-1.5.2/lib/ExtendEntityManager.cxx	2005-11-05 10:05:20.000000000 +0100
+++ OpenSP-1.5.2.new/lib/ExtendEntityManager.cxx	2007-06-21 12:56:26.000000000 +0200
@@ -1238,7 +1238,8 @@ StorageObjectSpec::StorageObjectSpec()
 }
 
 StorageObjectSpec::StorageObjectSpec(const StorageObjectSpec& x)
-: codingSystemName(x.codingSystemName),
+: storageManager(x.storageManager),
+  codingSystemName(x.codingSystemName),
   codingSystem(x.codingSystem),
   specId(x.specId),
   baseId(x.baseId),
@@ -1253,6 +1254,7 @@ StorageObjectSpec::StorageObjectSpec(con
 StorageObjectSpec& StorageObjectSpec::operator=(const StorageObjectSpec& x)
 {
   if (this != &x) {
+    storageManager = x.storageManager;
     codingSystemName = x.codingSystemName;
     codingSystem = x.codingSystem;
     specId = x.specId;


Index: opensp.spec
===================================================================
RCS file: /cvs/extras/rpms/opensp/devel/opensp.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- opensp.spec	12 Feb 2007 18:37:26 -0000	1.15
+++ opensp.spec	21 Jun 2007 12:43:36 -0000	1.16
@@ -1,12 +1,13 @@
 Summary: SGML and XML parser
 Name: opensp
 Version: 1.5.2
-Release: 4%{?dist}
+Release: 5%{?dist}
 Requires: sgml-common >= 0.5
 URL: http://openjade.sourceforge.net/
 Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
 Patch0: opensp-multilib.patch
 Patch1: opensp-nodeids.patch
+Patch2: opensp-sigsegv.patch
 License: Distributable
 Group: Applications/Text
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -32,6 +33,7 @@
 %setup -q -n OpenSP-%{version}
 %patch0 -p1 -b .multilib
 %patch1 -p1 -b .nodeids
+%patch2 -p1 -b .sigsegv
 
 %build
 %configure --disable-dependency-tracking --disable-static --enable-http \
@@ -99,6 +101,9 @@
 
 
 %changelog
+* Thu Jun 21 2007 Ondrej Vasik <ovasik at redhat.com> 1.5.2-5
+- fixed SIGSEGV (bug #245104)
+
 * Mon Feb 12 2007 Tim Waugh <twaugh at redhat.com> 1.5.2-4
 - Fixed build root.
 - Give IDs to nodes in the release notes source to prevent releasenotes.html




More information about the fedora-extras-commits mailing list