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
  • src/xalanc/PlatformSupport/XalanLocator.hpp

    Description: Fix segfault in xalan (testXSLT).
    Author: William Blough <devel@blough.us>
    Bug-Debian: http://bugs.debian.org/718303
    Forwarded: https://issues.apache.org/jira/browse/XALANC-751
    Last-Update: 2013-10-14
    diff --git a/c/src/xalanc/PlatformSupport/XalanLocator.hpp b/c/src/xalanc/PlatformSupport/XalanLocator.hpp
    index 34a7f1e..b026a40 100644
    public: 
    9191            const XalanDOMChar*     theAlternateId = getEmptyPtr())
    9292    {
    9393        return theLocator == 0 ? theAlternateId : (theLocator->getSystemId() ?
    94             theLocator->getPublicId() : theAlternateId);
     94            theLocator->getSystemId() : theAlternateId);
    9595    }
    9696
    9797    /**
Note: See TracBrowser for help on using the repository browser.