mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Avoid printf on NULL pointer if no string is registered for the error code.
This commit is contained in:
parent
226a05af31
commit
ee048d5349
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ static int do_actual_read(struct npool *ms, struct nevent *nse) {
|
|||
nse->status = NSE_STATUS_ERROR;
|
||||
nse->errnum = EIO;
|
||||
nsock_log_info("SSL_read() failed for reason %s on NSI %li",
|
||||
ERR_reason_error_string(err), iod->id);
|
||||
ERR_error_string(err, NULL), iod->id);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue