You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Denis Babineau (JIRA)" <ji...@apache.org> on 2015/10/06 16:34:27 UTC

[jira] [Created] (CB-9753) index out of bounds on requestFileSystem

Denis Babineau created CB-9753:
----------------------------------

             Summary: index out of bounds on requestFileSystem
                 Key: CB-9753
                 URL: https://issues.apache.org/jira/browse/CB-9753
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS, Plugin File
         Environment: cordova 5.3.3
cordova ios 3.9.1
cordova-plugin-file 2.0.0
            Reporter: Denis Babineau


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

    if (type > self.fileSystems.count) {

should read:

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




--
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