Skip to content

Commit 9b4fb23

Browse files
domenukkandreafioraldi
authored andcommitted
clippy fixes
1 parent 46e010b commit 9b4fb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libafl/src/bolts/llmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ where
20812081
if (*msg).tag == LLMP_TAG_NEW_SHM_CLIENT {
20822082
/* This client informs us about yet another new client
20832083
add it to the list! Also, no need to forward this msg. */
2084-
let msg_buf_len_padded = *ptr::addr_of!((*msg).buf_len_padded);
2084+
let msg_buf_len_padded = (*msg).buf_len_padded;
20852085
if (*msg).buf_len < size_of::<LlmpPayloadSharedMapInfo>() as u64 {
20862086
#[cfg(feature = "std")]
20872087
println!("Ignoring broken CLIENT_ADDED msg due to incorrect size. Expected {} but got {}",

0 commit comments

Comments
 (0)