rpms/opensp/FC-6 opensp-sigsegv.patch, NONE, 1.1 opensp.spec, 1.11, 1.12

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jun 21 12:22:28 UTC 2007


Author: ovasik

Update of /cvs/dist/rpms/opensp/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv12251

Modified Files:
	opensp.spec 
Added Files:
	opensp-sigsegv.patch 
Log Message:
fixing bad ugly sigsegv (#245104)

opensp-sigsegv.patch:
 ExtendEntityManager.cxx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

--- 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/dist/rpms/opensp/FC-6/opensp.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- opensp.spec	12 Jul 2006 07:35:36 -0000	1.11
+++ opensp.spec	21 Jun 2007 12:22:26 -0000	1.12
@@ -1,11 +1,12 @@
 Summary: SGML and XML parser
 Name: opensp
 Version: 1.5.2
-Release: 3.1
+Release: 4
 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-sigsegv.patch
 License: Distributable
 Group: Applications/Text
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -30,6 +31,7 @@
 %prep
 %setup -q -n OpenSP-%{version}
 %patch0 -p1 -b .multilib
+%patch1 -p1 -b .sigsegv
 
 %build
 %configure --disable-dependency-tracking --disable-static --enable-http \
@@ -97,6 +99,9 @@
 
 
 %changelog
+* Thu Jun 21 2007 Ondrej Vasik <ovasik at redhat.com> 1.5.2-4
+- Fixed SIGSEGV (bug #245104)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 1.5.2-3.1
 - rebuild
 




More information about the fedora-cvs-commits mailing list