Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1185

[PATCH] add code to guard against npe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.1
    • DOM (HTML)
    • None

    Description

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

      Attachments

        1. guard_against_npe.diff
          0.6 kB
          David Brosius

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: