Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: Extends beyond bounds for empty array #1433

Closed
rbright55 opened this issue Oct 11, 2019 · 1 comment
Closed

Crash: Extends beyond bounds for empty array #1433

rbright55 opened this issue Oct 11, 2019 · 1 comment
Labels
bug A defect in the library
Projects

Comments

@rbright55
Copy link

Bug Report

Reason:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM removeObjectsInRange:]: range {0, 1} extends beyond bounds for empty array'
Location:
- [SDLMutableDataQueue popBuffer], line 57

Reproduction Steps

N/A

Expected Behavior

Within the popBuffer function of the SDLMutableDataQueue.m file, a check should be added to see if the array is empty.

Observed Behavior

App crashes because the function is trying to remove an object from an empty array

Frequency

1/5

OS & Version Information
  • Device: iPhone 7
  • iOS Version: 13.2
  • SDL iOS Version: 6.3.1
  • Testing Against: SYNC 3, Ford Explorer
@joeljfischer joeljfischer added the bug A defect in the library label Oct 14, 2019
@joeljfischer joeljfischer added this to To do in v6.4 via automation Oct 14, 2019
@theresalech
Copy link
Contributor

Closed via #1435

v6.4 automation moved this from To do to Done Oct 15, 2019
@joeljfischer joeljfischer mentioned this issue Oct 24, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
No open projects
v6.4
  
Done
Development

No branches or pull requests

3 participants