push_len_prefixed casts usize to u32 that may truncate on 64-bit targets
#85
Member
```
warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers
--> crates\arbiter-server\src\crypto\integrity\v1.rs:71:28
|
71 | out.extend_from_slice(&(bytes.len() as u32).to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^
```
Kind
Security
Reviewed
Pending
4
labels
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?