[Openvas-devel] [openvas-Bugs][945] Multiple imports causes warnings in dump and Namespace collission across different files

openvas-bugs@wald.intevation.org openvas-bugs at wald.intevation.org
Tue Apr 7 13:03:32 CEST 2009


Bugs item #945, was opened at 2009-04-07 16:33
Status: Open
Priority: 3
Submitted By: Chandrashekhar B (chandra)
Assigned to: Nobody (None)
Summary: Multiple imports causes warnings in dump and Namespace collission across different files 
Resolution: None
Severity: None
Version: None
Component: openvas-libnasl
Operating System: None
Product: None
Hardware: None
URL: 


Initial Comment:
If plugin X imports an inc file A which in turn depends on another inc file B. If X tries to import B, openvas complains saying "already defined function". This indicates that the same inc cannot be imported multiple times, in a plugin launch scope. 

This causes another issue: Two inc's cannot have the same function definition. When these two inc's are imported in a single plugin, namespace collision occurs. 

Even the variables collide if they aren't specified explicitly as local. 




----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=220&aid=945&group_id=29


More information about the Openvas-devel mailing list