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

Handle data callbacks of size zero #178

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

Pehrsons
Copy link
Contributor

@Pehrsons Pehrsons commented Aug 7, 2024

The client side does not allow CallbackData::Req of size zero. This handles it on the server side by returning early.

The background for this is https://bugzilla.mozilla.org/show_bug.cgi?id=1907367 where something is causing data callbacks of size zero and tripping an assertion, but we have not reproduced and an audit is not conclusive as to where the root cause is.

The client side does not allow CallbackData::Req of size zero. This
handles it on the server side by returning early.

The background for this is https://bugzilla.mozilla.org/show_bug.cgi?id=1907367
where something is causing data callbacks of size zero and tripping an
assertion, but we have not reproduced and an audit is not conclusive as
to where the root cause is.
@Pehrsons Pehrsons requested a review from kinetiknz August 7, 2024 12:37
Copy link
Contributor

@kinetiknz kinetiknz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kinetiknz kinetiknz merged commit e6f44a2 into master Aug 7, 2024
12 checks passed
@Pehrsons Pehrsons deleted the handle-zero-callbacks branch August 8, 2024 07:51
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