mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 06:59:01 +00:00
Missed another assert() we can remove because of r4515
This commit is contained in:
1
tcpip.cc
1
tcpip.cc
@@ -2748,7 +2748,6 @@ int sd;
|
|||||||
if (numifaces == ii_capacity) {
|
if (numifaces == ii_capacity) {
|
||||||
ii_capacity <<= 2;
|
ii_capacity <<= 2;
|
||||||
mydevs = (struct interface_info *) safe_realloc(mydevs, sizeof(struct interface_info) * ii_capacity);
|
mydevs = (struct interface_info *) safe_realloc(mydevs, sizeof(struct interface_info) * ii_capacity);
|
||||||
assert(mydevs);
|
|
||||||
}
|
}
|
||||||
mydevs[numifaces].devname[0] = mydevs[numifaces].devfullname[0] = '\0';
|
mydevs[numifaces].devname[0] = mydevs[numifaces].devfullname[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user