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.
native-tls 0.2.11
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.
native-tls
(10 total, 1 outdated, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
lazy_static | ^1.4.0 | 1.5.0 | up to date |
libc | ^0.2 | 0.2.168 | up to date |
log | ^0.4.5 | 0.4.22 | up to date |
openssl ⚠️ | ^0.10.29 | 0.10.68 | maybe insecure |
openssl-probe | ^0.1 | 0.1.5 | up to date |
openssl-sys | ^0.9.55 | 0.9.104 | up to date |
schannel | ^0.1.17 | 0.1.27 | up to date |
security-framework | ^2.0.0 | 3.0.1 | out of date |
security-framework-sys | ^2.0.0 | 2.12.1 | up to date |
tempfile | ^3.1.0 | 3.14.0 | up to date |
(2 total, 1 outdated)
Crate | Required | Latest | Status |
---|---|---|---|
tempfile | ^3.0 | 3.14.0 | up to date |
test-cert-gen | ^0.7 | 0.9.0 | out of 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.