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

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

Add a New Comment Rich Markup
   

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

Version 2.7 has now been released. Closing this bug.

Per Cederberg <cederberg>
Group administrator
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>
Group administrator
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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

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.14-8eb0.
Corresponding source code