mirror of https://github.com/facebook/tac_plus
Merge pull request #33 from facebook/repair_printf_vulnerability
Add specifier to LOG func
This commit is contained in:
commit
1be1defb6e
|
|
@ -59,7 +59,7 @@ get_authen_continue(void)
|
|||
"when expecting authentication cont", session.peer,
|
||||
hdr->type, hdr->seq_no) == -1)
|
||||
strcpy(msg, "");
|
||||
report(LOG_ERR, msg);
|
||||
report(LOG_ERR, "%s", msg);
|
||||
send_authen_error(msg);
|
||||
return(NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue