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

index out of bounds on requestFileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-file
    • cordova 5.3.3
      cordova ios 3.9.1
      cordova-plugin-file 2.0.0
      iOS

    Description

      CDVFile.m's requestFileSystem: incorrectly checks the bounds of an array:

      if (type > self.fileSystems.count) {

      should read:

      if (type >= self.fileSystems.count) {

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              denisbabineau Denis Babineau
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: