PT-2026-6539 · Crates.Io · Git2
Published
2026-02-02
·
Updated
2026-02-02
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Git2