From 9b4fb23ec25840c1bcf1509604792cf8c0b34b2b Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Wed, 5 May 2021 13:15:42 +0200 Subject: [PATCH] clippy fixes --- libafl/src/bolts/llmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libafl/src/bolts/llmp.rs b/libafl/src/bolts/llmp.rs index 5205b1936f..733e7f4157 100644 --- a/libafl/src/bolts/llmp.rs +++ b/libafl/src/bolts/llmp.rs @@ -2081,7 +2081,7 @@ where if (*msg).tag == LLMP_TAG_NEW_SHM_CLIENT { /* This client informs us about yet another new client add it to the list! Also, no need to forward this msg. */ - let msg_buf_len_padded = *ptr::addr_of!((*msg).buf_len_padded); + let msg_buf_len_padded = (*msg).buf_len_padded; if (*msg).buf_len < size_of::() as u64 { #[cfg(feature = "std")] println!("Ignoring broken CLIENT_ADDED msg due to incorrect size. Expected {} but got {}",