3 ms·
> ... only on the high-level unpack methods Unlike the go library, on the unsafe methods, the rust library includes a note explaining the security footgun. It
by TheDong 5y ago
> ... only on the high-level unpack methods
Unlike the go library, on the unsafe methods, the rust library includes a note explaining the security footgun.
It also provides 'unpack_in' on entry, so there's a secure and insecure variant.
The go library should at least include a note, but does not. The rust library does not have the same footgun because it is clearly documented and provides a secure alternative.