You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Thillaiganesh Chan (JIRA)" <ji...@apache.org> on 2016/02/12 12:56:18 UTC
[jira] [Commented] (CB-9753) index out of bounds on
requestFileSystem
[ https://issues.apache.org/jira/browse/CB-9753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144502#comment-15144502 ]
Thillaiganesh Chan commented on CB-9753:
----------------------------------------
This is a valid request, issue will be triggered when there is a request for Persistent file and the same is not found in the device. Shall create a pull request to modify > to >=.
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org