Home
My Page
Projects
OpenVAS

[#945] Multiple imports causes warnings in dump and Namespace collission across different files

Date:
2009-04-07 11:03
Priority:
3
State:
Open
Submitted by:
Chandrashekhar B (chandra)
Assigned to:
Nobody (None)
Architecture:
None
Product:
None
Operating System:
None
Component:
openvas-libnasl
Version:
None
Severity:
None
Resolution:
None
Hardware:
None
URL:
 
Summary:
Multiple imports causes warnings in dump and Namespace collission across different files

Detailed description
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.





Followup

Message
Date: 2009-10-08 09:17
Sender: Chandrashekhar B

Not yet resolved. It is not a high priority, we need to take it up sometimes.
Date: 2009-10-08 08:52
Sender: Geoff Galitz


Is this bug resolved for you, or is futher action necessary?

Attached Files:

Changes:

No Changes Have Been Made to This Item


This site is hosted by Intevation GmbH