-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: cordova-android, cordova-plugin-camera
-
Labels:None
There are several places in the Camera plugin where streams are not closed in a finally block allowing for the possibility they will never be closed if an exception occurs at the wrong place.
Although this doesn't affect functionality as far as I can tell (if enough resources streams are not closed properly maybe it could affect performance), it does show up as an issue in static code analysis tools (such as Fortify).