You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2006/09/10 00:43:23 UTC

[jira] Assigned: (XERCESJ-1185) [PATCH] add code to guard against npe

     [ http://issues.apache.org/jira/browse/XERCESJ-1185?page=all ]

Michael Glavassevich reassigned XERCESJ-1185:
---------------------------------------------

    Assignee: Michael Glavassevich

> [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.0
>            Reporter: Dave Brosius
>         Assigned To: Michael Glavassevich
>            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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org