[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-1840184 ] Possible memory leak in function
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2007-11-28 11:06:28
Message-ID: E1IxKkO-00007x-LG () sc8-sf-web21 ! sourceforge ! net
[Download RAW message or body]
Bugs item #1840184, was opened at 2007-11-28 12:04
Message generated for change (Comment added) made by tanders
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1840184&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: agent
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible memory leak in function log_notification
Initial Comment:
If an unsupported data type is used for a variable in a trap, a memory leak will \
occure when an attempt to store this variable in the nlmLogVariableTable is done.
File: notification_log.c
Function: log_notification
switch (vptr->type) {
>
>
>
default:
/*
* unsupported
*/
DEBUGMSGTL(("notification_log",
"skipping type %d\n", vptr->type));
<--
Allocated row stored in variable 'myrow' is not freed. Remember to also free the data \
of the row.
-->
continue;
}
----------------------------------------------------------------------
> Comment By: Thomas Anders (tanders)
Date: 2007-11-28 12:06
Message:
Logged In: YES
user_id=848638
Originator: NO
Would you be willing to submit a proposed patch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1840184&group_id=12694
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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