Anonymous | Login | Signup for a new account | 11-21-2024 16:23 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004077 | [Quercus] | minor | always | 06-12-10 04:07 | 07-09-10 07:38 | ||||
Reporter | domdorn | View Status | public | ||||||
Assigned To | domdorn | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | resolved | Product Version | 4.0.9 | ||||||
Summary | 0004077: NPE in Env during cleanup | ||||||||
Description |
it is possible to generate a NPE in Env.java in the cleanup method: AbstractFunction []fun = _fun; _fun = null; if (fun != null) { boolean isUsed = false; if (_page.setRuntimeFunction(fun)) { isUsed = true; } here it is not checked if _page is null, which could be the case if the Class is created with the Constructor(QuercusContext) where everything except the context is null. I propose to change the line to if (_page != null && _page.setRuntimeFunction(fun)) { |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |