Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12341

Possible crash in [CDVUserAgentUtil releaseLock:]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • cordova-ios@4.4.0
    • cordova-ios
    • None
    • only tested on iOS 10.x, but would affect other versions also.

    Description

      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.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            benrigas Ben Rigas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: