Skip to content

Agent crashes if NMS does not include ReportSubscribe TLV. #39

Description

@woobagooba

If the NMS doesn’t include a ReportSubscribe TLV in the registration response (when the device gave ReportSubscribe { interval = 0 } ), csmp-agent-lib (or at least the sample app) crashes, when it tries to do random() % imin with imin=0. Easy enough to work around – have the NMS implementation always include it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions