Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
fix some compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hexcoder- committed Oct 6, 2020
1 parent 4bd69e9 commit 9c57e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/libaflfuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ static void handle_crash(int sig, siginfo_t *info, void *ucontext) {

static void setup_signal_handlers(void) {

struct sigaction sa = {0};
struct sigaction sa = {{0},{0},0,0};

memset(&sa, 0, sizeof(sigaction));
sigemptyset(&sa.sa_mask);
Expand Down
2 changes: 1 addition & 1 deletion src/llmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ static inline void llmp_broker_handle_new_msgs(llmp_broker_t *broker, llmp_broke
llmp_payload_new_page_t *pageinfo = LLMP_MSG_BUF_AS(msg, llmp_payload_new_page_t);
if (!pageinfo) {

FATAL("Illegal message length for EOP (is %zu, expected %u)", msg->buf_len_padded,
FATAL("Illegal message length for EOP (is %zu, expected %zu)", msg->buf_len_padded,
sizeof(llmp_payload_new_page_t));

}
Expand Down

0 comments on commit 9c57e27

Please sign in to comment.