Skip to content

Commit

Permalink
fix possible format string exploit if packet dumping enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
  • Loading branch information
utoni committed Sep 10, 2022
1 parent f418ae6 commit b19f8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void hexdump(msg_info msg_info, const char *mem, unsigned int len)
}
str[c++] = '\n';
str[c++] = 0;
print_message(msg_info, str);
print_message(msg_info, "%s", str);
c = 0;
}
}
Expand Down

0 comments on commit b19f8a6

Please sign in to comment.