You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Niall Tierney (JIRA)" <xe...@xml.apache.org> on 2011/02/16 14:14:57 UTC

[jira] Created: (XERCESC-1958) XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp

XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp
-----------------------------------------------------------------

                 Key: XERCESC-1958
                 URL: https://issues.apache.org/jira/browse/XERCESC-1958
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (XML Schema)
    Affects Versions: 3.0.0
         Environment: Solaris
            Reporter: Niall Tierney
            Priority: Minor
             Fix For: 3.0.0


The XMLUni::fgXercesLoadSchema XMLCh[] in /util/XMLUni.cpp is not null-terminated.  
This causes an "Unknown Feature" exception to be thrown by the parser.
The array should be terminated with the chNull character to avoid this exception.
Note that i've tested on 3.0.0, but i can see in the SVN repository that this bug still exists in the head of the tree.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Resolved: (XERCESC-1958) XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1958.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.0.0)
                   3.2.0
         Assignee: Alberto Massari

Fixed. Thanks for spotting this.

Alberto

> XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp
> -----------------------------------------------------------------
>
>                 Key: XERCESC-1958
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1958
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.0.0
>         Environment: Solaris
>            Reporter: Niall Tierney
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.2.0
>
>         Attachments: xmluni.cpp.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The XMLUni::fgXercesLoadSchema XMLCh[] in /util/XMLUni.cpp is not null-terminated.  
> This causes an "Unknown Feature" exception to be thrown by the parser.
> The array should be terminated with the chNull character to avoid this exception.
> Note that i've tested on 3.0.0, but i can see in the SVN repository that this bug still exists in the head of the tree.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1958) XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp

Posted by "Niall Tierney (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Tierney updated XERCESC-1958:
-----------------------------------

    Attachment: xmluni.cpp.patch

Patch for util/XMLUni.cpp with the fgXercesLoadSchema XMLCh[] properly null-terminated.

> XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp
> -----------------------------------------------------------------
>
>                 Key: XERCESC-1958
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1958
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.0.0
>         Environment: Solaris
>            Reporter: Niall Tierney
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: xmluni.cpp.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> The XMLUni::fgXercesLoadSchema XMLCh[] in /util/XMLUni.cpp is not null-terminated.  
> This causes an "Unknown Feature" exception to be thrown by the parser.
> The array should be terminated with the chNull character to avoid this exception.
> Note that i've tested on 3.0.0, but i can see in the SVN repository that this bug still exists in the head of the tree.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org