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

fix possible format str vuln
This commit is contained in:
Yves Rutschle 2022-09-11 21:15:51 +02:00 committed by GitHub
commit 9a36854ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}