cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Commented] (CB-8253) Fix potential unreleased resources
Date Fri, 24 Apr 2015 23:19:38 GMT


Joe Bowser commented on CB-8253:

GitHub says this is clean, but I can't apply this patch as it is on the most recent repo.
 Can you pull the latest from the repo, and re-submit the pull request? Sorry for not getting
back to you sooner.

> Fix potential unreleased resources
> ----------------------------------
>                 Key: CB-8253
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Camera
>            Reporter: Alan Kinzie
>            Assignee: Alan Kinzie
> 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).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message