-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR9
-
None
Coverity static-analysis scan found an issue in a loop within the ProviderLoaderService.unregisterProviders method.
https://scan7.coverity.com/reports.htm#v16159/p12663/fileInstanceId=6892104&defectInstanceId=1794523&mergedDefectId=1388480&fileStart=1&fileEnd=250
The condition is wrong in the code
for (int i = providers.length - 1; i < 0; i--) { Security.removeProvider(providers[i].getName()); }
There should be i >= 0 instead of i < 0.
- is cloned by
-
WFLY-7829 Coverity: wrong condition in ProviderLoaderService.unregisterProviders (Elytron subsystem)
- Closed
- is incorporated by
-
JBEAP-8259 Upgrade to Elytron Subsystem 1.0.0.Alpha20
- Closed