-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR9
Coverity static-analysis scan found a possilbe method call on null object in the PermissionMapperDefinitions.createPermission method.
Module currentModule = Module.getCallerModule(); if (permission.getModule() != null) { ModuleIdentifier mi = ModuleIdentifier.fromString(permission.getModule()); try { currentModule = currentModule.getModule(mi);
The currentModule value returned from Module.getCallerModule() may be null. The getModule() method is called on it without the null-check.
- is cloned by
-
WFLY-7833 Coverity: dereference null value in PermissionMapperDefinitions (Elytron subsystem)
- Closed
- is incorporated by
-
JBEAP-8780 Upgrade to Elytron Subsystem 1.0.0.Beta6
- Closed