Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6216

Pointer not compared to null before dereferencing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
    • Story Points:
      1
    • Sprint:
      K Sprint #1 - Dyn-Config

      Description

      In master branch file: OspfNbrImpl.java, method:
      private List buildLsUpdate(Map<String, OspfLsa> txList)
      Pointer lsa on line number 1904 is dereferenced before it is compared to null on line number 1918.
      The dereferencing at line number 1905 will throw a null pointer exception if the pointer lsa points to null.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              palashk Palash Kala
              Reporter:
              palashk Palash Kala
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: