Skip to content
Commit 142deef7 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Fixed invariant violation in `MemBio::get_buf` with empty results

Pointer arguments to `slice::from_raw_parts` are required to be non-null. (See https://davidben.net/2024/01/15/empty-slices.html for details.)
parent 32f150b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment