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.12
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
(9 total, 1 outdated, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
libc | ^0.2 | 0.2.159 | up to date |
log | ^0.4.5 | 0.4.22 | up to date |
openssl ⚠️ | ^0.10.29 | 0.10.66 | maybe insecure |
openssl-probe | ^0.1 | 0.1.5 | up to date |
openssl-sys | ^0.9.55 | 0.9.103 | up to date |
schannel | ^0.1.17 | 0.1.26 | up to date |
security-framework | ^2.0.0 | 3.0.0 | out of date |
security-framework-sys | ^2.0.0 | 2.12.0 | up to date |
tempfile | ^3.1.0 | 3.13.0 | up to date |
(2 total, all up-to-date)
Crate | Required | Latest | Status |
---|---|---|---|
tempfile | ^3.0 | 3.13.0 | up to date |
test-cert-gen | ^0.9 | 0.9.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.