1 |
floppym 12/03/30 22:03:02 |
2 |
|
3 |
Added: opensp-1.5.2-fix-segfault.patch |
4 |
Log: |
5 |
Fix segfault, bug 196230. |
6 |
|
7 |
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-text/opensp/files/opensp-1.5.2-fix-segfault.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/files/opensp-1.5.2-fix-segfault.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/files/opensp-1.5.2-fix-segfault.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: opensp-1.5.2-fix-segfault.patch |
16 |
=================================================================== |
17 |
Resolve segfault in OpenSP::ParsedSystemId::unparse. |
18 |
Patch taken from Debian. |
19 |
https://bugs.gentoo.org/show_bug.cgi?id=196230 |
20 |
--- a/lib/ExtendEntityManager.cxx |
21 |
+++ b/lib/ExtendEntityManager.cxx |
22 |
@@ -1238,7 +1238,8 @@ |
23 |
} |
24 |
|
25 |
StorageObjectSpec::StorageObjectSpec(const StorageObjectSpec& x) |
26 |
-: codingSystemName(x.codingSystemName), |
27 |
+: storageManager(x.storageManager), |
28 |
+ codingSystemName(x.codingSystemName), |
29 |
codingSystem(x.codingSystem), |
30 |
specId(x.specId), |
31 |
baseId(x.baseId), |
32 |
@@ -1253,6 +1254,7 @@ |
33 |
StorageObjectSpec& StorageObjectSpec::operator=(const StorageObjectSpec& x) |
34 |
{ |
35 |
if (this != &x) { |
36 |
+ storageManager = x.storageManager; |
37 |
codingSystemName = x.codingSystemName; |
38 |
codingSystem = x.codingSystem; |
39 |
specId = x.specId; |