Conversation
Hi guys, I think we have a typo here (can provide a binary as an example where it fails)
|
would you mind fixing the warnings in load_config.rs while you're there? i think i need to turn on warnings-as-failures in CI job also @kkent030315 this last warning is a little odd, why is the size unused here? seems to be parsed and ignored, could be another latent bug? |
|
@m4b I might forgot to remove the unused size var, but that really doesn't matter in the case. The problem is in I found it very annoying these two cases are not identical... Please correct me if I am wrong! let bytes = bytes[offset..].pread::<&[u8]>(dd.size as usize)
let bytes = bytes[offset..].pread_with::<&[u8]>(0, dd.size as usize) |
|
It is safe to delete |
|
@kkent030315 I may be wrong, but in this case, we are reading from the |
You are very correct, it makes sense. thanks! Was thought |
|
NB: non-breaking |
Hi guys, I think we have a typo here. I attached a binary as an example where it fails
example.zip