[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-522390 ] Parse Module-Compliance Bug for mib
From: noreply () sourceforge ! net
Date: 2002-02-25 13:00:56
[Download RAW message or body]
Bugs item #522390, was opened at 2002-02-25 02:58
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=522390&group_id=12694
Category: library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: John Naylon (jbpn)
Summary: Parse Module-Compliance Bug for mib
Initial Comment:
Calling the init_snmp function,it call init_mib for
loading mib file and compilation.
When the mib file include Module-compliance block,the
function (
static struct node *
parse_compliance(FILE *fp,char *name)
)
will be called.It parse module block and implement
node->description = strdup(var).
But the module has more than one description.Therefore,
the next one replace the previous with the menory
block for previous description never freed.It will
cause the memory leak after application terminated.
----------------------------------------------------------------------
>Comment By: John Naylon (jbpn)
Date: 2002-02-25 05:00
Message:
Logged In: YES
user_id=93926
Fixed in the V4-2-patches branch; just take the first
DESCRIPTION clause which is the one that is actually an
overall description of the node anyway.
Thanks for pointing this out.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=522390&group_id=12694
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic