Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1194

Invalid NETCONF message triggers unnecessary parsing of partial message

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • 4.0.8, 6.0.4, 5.0.9
    • 7.0.0, 4.0.9, 6.0.5, 5.0.10
    • netconf
    • None

    Description

      When a NETCONF XML message is corrupted, SAXParseException is raised while parsing the XML message. In some cases, e.g. when there is an invalid character, the exception is raised before all the data in the buffer is read. And in this case the next decoding is started from the point where the parsing was aborted and this in turn will cause another parsing failure. This repeatedly happens until all the remaining data in the buffer is exhausted. If the corrupted XML message is large, then this may put significant load on the controller and generate a lot of log messages.

      Attachments

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

        Activity

          People

            sangwookha Sangwook Ha
            sangwookha Sangwook Ha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: