—
RUSTSEC-2026-0008
Potential undefined behavior when dereferencing Buf struct
상세
if we dereference the Buf struct right after calling new() or default() on Buf struct, it passes Null Pointer to the unsafe function slice::from_raw_parts. Based on the safety section documentation of function, data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passing Null Pointer will lead to undefined behavior.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
crates.io / git2
최초 영향 버전:
0.0.0-0 수정 버전: 0.20.4 Upgrade git2 to 0.20.4 or newer (ecosystem crates.io).