mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
msg.cpp: fixed possible sigsegv caused by a tricky filename
committer: ml1050 <ml1050> 1108382780 +0000
This commit is contained in:
parent
586b43048f
commit
dbf0c9f016
|
@ -66,9 +66,9 @@ void printClearLine(FILE *f)
|
|||
static void pr_print(bool c, const char *msg)
|
||||
{
|
||||
if (c && !opt->to_stdout)
|
||||
con_fprintf(stderr,msg);
|
||||
con_fprintf(stderr, "%s", msg);
|
||||
else
|
||||
fprintf(stderr,msg);
|
||||
fprintf(stderr, "%s", msg);
|
||||
}
|
||||
|
||||
static void pr_error(const char *iname, const char *msg, bool is_warning)
|
||||
|
|
Loading…
Reference in New Issue
Block a user