1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00

Fix segfault when using service name wildcards with -p.

This commit is contained in:
dmiller
2023-06-16 18:20:16 +00:00
parent c13ce4536e
commit 2da490f847
3 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@
struct nprotoent {
const char *p_name;
short p_proto;
u16 p_proto;
};
int addprotocolsfromservmask(char *mask, u8 *porttbl);