bugMibble MIB Parser - Bugs: bug #16285, MIB unloading does not remove all...


bug #16285: MIB unloading does not remove all references to the MIB symbols

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Thu 06 Apr 2006 05:30:11 PM UTC  
Severity:  5 - Major Item Group:  Software
Status:  Fixed Privacy:  Public
Assigned to:  Per Cederberg <cederberg> Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 28 May 2006 09:09:13 PM UTC, comment #2:

Version 2.7 has now been released. Closing this bug.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Sat 08 Apr 2006 02:24:15 PM UTC, comment #1:

This is now fixed. A patch is attached, but the code will also soon be available in 2.7.alpha1

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Thu 06 Apr 2006 05:30:11 PM UTC, original submission:

The MibLoader.unload() methods pretend to unload a loaded MIB. However, they only remove the loaded Mib from the loader itself, not from the OID tree. This means that the unloading serves no purpose, effectively making it pointless.

When unloading a Mib, all the ObjectIdentifierValue objects should be detached from one another. This will mean that the Mib or its symbols are no longer possible to reference in any way. Setting all the object links inside symbol and value objects to null may also help the garbage collector to reclaim all the memory used.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #9744:  fix-mibloader-unload.patch added by cederberg (13KiB - application/octet-stream - fix-mibloader-unload.patch)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-28 cederberg Open/ClosedOpen => Closed
2006-04-08 cederberg StatusNone => Fixed
2006-04-08 cederberg Attached File- => Added fix-mibloader-unload.patch, #9744

Back to the top

Powered by Savane 3.4