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.
tcp-stream 0.29.2
This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.
tcp-stream
(6 total, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
cfg-if | ^1.0 | 1.0.0 | up to date |
native-tls | ^0.2 | 0.2.12 | up to date |
openssl ⚠️ | ^0.10 | 0.10.68 | maybe insecure |
p12-keystore | ^0.1 | 0.1.3 | up to date |
rustls-connector | ^0.21 | 0.21.4 | up to date |
rustls-pemfile | ^2.0 | 2.2.0 | up to date |
openssl
: `MemBio::get_buf` has undefined behavior with empty buffersPreviously, 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.