Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Apr 29, 2020

Motivation:

Unexpected messages in the key exchange phase could lead to infinite
loops because we'd ignore them, but not mark them as processed. For now,
as we handle a wider range of messages, we'll just consider unexpected
messages errors.

Modifications:

  • Replaced .noMessage with throwing in two cases.

Result:

No remote triggerable infinite loop.

Motivation:

Unexpected messages in the key exchange phase could lead to infinite
loops because we'd ignore them, but not mark them as processed. For now,
as we handle a wider range of messages, we'll just consider unexpected
messages errors.

Modifications:

- Replaced .noMessage with throwing in two cases.

Result:

No remote triggerable infinite loop.

(cherry picked from commit c20aa24a07c404e14aab0147b5ba2aaca3d08390)
@Lukasa Lukasa requested a review from artemredkin April 29, 2020 14:06
@Lukasa Lukasa merged commit 5d53836 into apple:master Apr 29, 2020
@Lukasa Lukasa deleted the cb-fuzz-infinite-loop branch April 29, 2020 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants