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 if [SDLResponseDispatcher rpcResponseHandlerMap] is mutated while being cleared #666

Closed
joeljfischer opened this issue Jul 27, 2017 · 0 comments
Assignees
Labels
bug A defect in the library
Projects
Milestone

Comments

@joeljfischer
Copy link
Contributor

Bug Report

I've seen a crash pointing to the [SDLResponseDispatcher clear] method, specifically in the for in loop. It appears that the map is being mutated while being iterated. We should make a local immutable copy, then iterate over that instead.

Reproduction Steps

Unknown

Expected Behavior

No crash

Observed Behavior

Crash

OS & Version Information
  • iOS Version: 10.3.2
  • SDL iOS Version: v4.6.2
  • Testing Against: Ford TDK 3 v. 3.0
@joeljfischer joeljfischer added the bug A defect in the library label Jul 27, 2017
@joeljfischer joeljfischer added this to the 4.7.0 milestone Jul 27, 2017
@joeljfischer joeljfischer self-assigned this Jul 27, 2017
@joeljfischer joeljfischer added this to Bugs Backlog in v4.7.0 Jul 27, 2017
@joeljfischer joeljfischer moved this from Bugs Backlog to In Progress in v4.7.0 Jul 28, 2017
@joeljfischer joeljfischer moved this from In Progress to Done in v4.7.0 Jul 31, 2017
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
Development

No branches or pull requests

1 participant