source: trunk/dports/textproc/xalanc/files/fix-testxslt-segfault.diff @ 142268

Last change on this file since 142268 was 142268, checked in by khindenburg@…, 5 years ago

xalanc: update to 1.11; add debian patches; maintainer timeout #37424

File size: 763 bytes
RevLine 
[142268]1Description: Fix segfault in xalan (testXSLT).
2Author: William Blough <devel@blough.us>
3Bug-Debian: http://bugs.debian.org/718303
4Forwarded: https://issues.apache.org/jira/browse/XALANC-751
5Last-Update: 2013-10-14
6diff --git a/c/src/xalanc/PlatformSupport/XalanLocator.hpp b/c/src/xalanc/PlatformSupport/XalanLocator.hpp
7index 34a7f1e..b026a40 100644
8--- src/xalanc/PlatformSupport/XalanLocator.hpp
9+++ src/xalanc/PlatformSupport/XalanLocator.hpp
10@@ -91,7 +91,7 @@ public:
11             const XalanDOMChar*     theAlternateId = getEmptyPtr())
12     {
13         return theLocator == 0 ? theAlternateId : (theLocator->getSystemId() ?
14-            theLocator->getPublicId() : theAlternateId);
15+            theLocator->getSystemId() : theAlternateId);
16     }
17 
18     /**
Note: See TracBrowser for help on using the repository browser.