mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Some patches from Marek
This commit is contained in:
parent
30190d664a
commit
d3055b26bf
9 changed files with 18 additions and 141 deletions
|
|
@ -186,7 +186,7 @@ void NmapOutputTable::addItemFormatted(unsigned int row,
|
|||
res = vsnprintf(buf, sizeof(buf), fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
if (res < 0 || res > sizeof(buf))
|
||||
if (res > sizeof(buf))
|
||||
fatal("NmapOutputTable only supports adding up to 4096 to a cell via addItemFormatString.");
|
||||
|
||||
addItem(row, column, true, buf, res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue