Skip to content

Network failure in authentication treated as success, leading to null dereference #138

Open
@mdpye

Description

@mdpye

See http://crashes.to/s/c83e37cf8ad

From my (naive) reading, connection:didFailWithError was called (frame 6), but no error object was passed, so the connectionError is assigned a null value. When calling finish (frame 5) the success branch is chosen, because it detects previous failure by testing connectionError, assuming that if it has been assigned it will have been assigned something non-null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions