Menu

#730 error saving snmpNotifyFilterTable row to persistent file

closed
nobody
None
5
2012-11-08
2007-01-23
No

With a sufficiently long subtree, an error is written to the log when creating rows in snmpNotifyFilterTable:

error saving snmpNotifyFilterTable row to persistent file (too long)

The MAX_ROW_SIZE #define in _snmpNotifyFilterTable_container_row_savs does not account for the snmpNotifyFilterProfileName/snmpNotifyFilterSubtree index. I've added 12 * 128 for these (though the max would technically be slightly less, subtracting the OID length for snmpNotifyFilterTable columns).

Discussion

  • Michael Kirkham

    Michael Kirkham - 2007-01-23
     
  • Michael Kirkham

    Michael Kirkham - 2007-01-23

    Logged In: YES
    user_id=498198
    Originator: YES

    File Added: 1642255.patch

     
  • Michael Kirkham

    Michael Kirkham - 2007-01-23

    Logged In: YES
    user_id=498198
    Originator: YES

    Note that this is generated code, so this could actually point to a mib2c bug.

     
  • Dave Shield

    Dave Shield - 2007-03-23

    Logged In: YES
    user_id=88893
    Originator: NO

    I've also applied a similar patch to the mib2c template code.
    (Though I'm not 100% sure it'll be picked up)

     
  • Dave Shield

    Dave Shield - 2007-03-23

    Logged In: YES
    user_id=88893
    Originator: NO

    Thanks for the patch! It has been applied to the 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.

     

Log in to post a comment.