[ 
https://issues.apache.org/jira/browse/CB-9753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150152#comment-15150152
 ] 

ASF GitHub Bot commented on CB-9753:
------------------------------------

GitHub user ThillaiganeshChan opened a pull request:

    https://github.com/apache/cordova-plugin-file/pull/164

    Fix for CB-9753 : index out of bounds on requestFileSystem

    This for the CB-9753, "index out of bounds on requestFileSystem".
    
    Changed
     if (type > self.fileSystems.count) {
    
    To
    if (type >= self.fileSystems.count) {

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ThillaiganeshChan/cordova-plugin-file 
CB-9753cordova-plugin-file

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file/pull/164.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #164
    
----
commit 1aa3ab1669d09351d1c6cbfdcf03a3154405d7c6
Author: Thillaiganesh, C <[email protected]>
Date:   2016-02-17T08:46:55Z

    Fix for CB-9753 : index out of bounds on requestFileSystem

----


> 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: Plugin File
>         Environment: cordova 5.3.3
> cordova ios 3.9.1
> cordova-plugin-file 2.0.0
> iOS
>            Reporter: Denis Babineau
>              Labels: Triaged, easyfix, iOS
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to