You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ben Rigas (JIRA)" <ji...@apache.org> on 2017/01/10 21:06:58 UTC

[jira] [Created] (CB-12341) Possible crash in [CDVUserAgentUtil releaseLock:]

Ben Rigas created CB-12341:
------------------------------

             Summary: Possible crash in [CDVUserAgentUtil releaseLock:]
                 Key: CB-12341
                 URL: https://issues.apache.org/jira/browse/CB-12341
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.5.0
         Environment: only tested on iOS 10.x, but would affect other versions also.
            Reporter: Ben Rigas
            Priority: Minor


There is a possibility of a crash when calling [CDVUserAgentUtil releaseLock:] with a nil pointer. The first check in this method dereferences the lockToken pointer without first checking that it is non-nil, it should be updated to check for nil before continuing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org