https://issues.apache.org/bugzilla/show_bug.cgi?id=50128
Summary: Potential NPI in PersistentMananagerBase
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=26191)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26191)
Patch to fix problem
String [] ids = null;
...
code to set ids.
However if the PrivilegedActionException is caught, ids is not set.
...
int n = ids.length;
Fixed by initialising to an empty array. However perhaps the bug is that the
code should not continue after PAE.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]