Skip to content
New issue

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

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

Already on GitHub? # 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

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
@theresalech
Copy link
Contributor

Closed via #1435

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A defect in the library
Projects
None yet
Development

No branches or pull requests

3 participants