Closed github-actions[bot] closed 1 month ago
MemBio::get_buf has undefined behavior with empty buffers
MemBio::get_buf
openssl
0.10.64
>=0.10.66
Previously, MemBio::get_buf called slice::from_raw_parts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.
slice::from_raw_parts
See advisory page for additional details.
openssl
0.10.64
>=0.10.66
Previously,
MemBio::get_buf
calledslice::from_raw_parts
with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.See advisory page for additional details.