Menu

#1137 table_iterator.c/netsnmp_free_ti_cache missing null check

closed
agent (1105)
5
2012-11-08
2004-07-20
No

The netsnmp_free_ti_cache function which accepts a
void pointer argument does not check the pointer for
null. On my system, when I run out of memory, this
becomes an issue. I am submitting a diff of v5.35 of
table_iterator.c with my change to check for the NULL
pointer. Please let me know if there are any questions....

Robert Wilcox

Discussion

  • Robert Wilcox

    Robert Wilcox - 2004-07-20

    table_iterator_c_diff

     
  • Mike Slifcak

    Mike Slifcak - 2004-07-21

    Logged In: YES
    user_id=88697

    Thanks for the bug report! We've fixed the problem in the
    5.1.x code branch and the main development tree,
    so it should be fixed in future releases of the net-snmp package.

     

Log in to post a comment.