Merge pull request #353 from utoni/fix/possible-format-str-exploit

fix possible format str vuln
This commit is contained in:
Yves Rutschle authored and GitHub committed 2022-09-11 21:15:51 +02:00
commit 9a36854ed3
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}
}