mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Some patches from Marek
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user