[PATCH] add code to guard against npe
-------------------------------------

                 Key: XERCESJ-1185
                 URL: http://issues.apache.org/jira/browse/XERCESJ-1185
             Project: Xerces2-J
          Issue Type: Bug
          Components: DOM (HTML)
    Affects Versions: 2.8.1
            Reporter: Dave Brosius
            Priority: Minor
         Attachments: guard_against_npe.diff

code erroneously gets list item 0 without checking size, then checks and gets 
element 0 if it exists. Remove the first unsafe operation

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to