Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buffer is 4x needed size (openzfs#486)
I noticed that these Vec's default to Vec<u32>, so their size in bytes is 4x their .len(). We only need "len" bytes, so this is allocating and zeroing out 4x the data that we need. Change it to be Vec<u8>
- Loading branch information