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

ffi: quiche_conn_close and quiche_conn_stream_send check for null pointers (fix #1914) #1916

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

ichordev
Copy link
Contributor

Functions quiche_conn_close and quiche_conn_stream_send now check to make sure the passed pointers are not null before creating a slice with them. If they are null, &[] is used instead. Length must be 0 when the buffer is null, of course.

@ichordev ichordev requested a review from a team as a code owner January 17, 2025 17:26
@ghedo ghedo merged commit a053c0e into cloudflare:master Jan 22, 2025
25 checks passed
@ghedo
Copy link
Member

ghedo commented Jan 22, 2025

Merged, thanks @ichordev!

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