mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Fix a LGTM.com finding (false positive, but easier to just change it)
This commit is contained in:
@@ -191,7 +191,7 @@ struct token {
|
|||||||
static unsigned short *parse_portlist(const char *portlist, unsigned int *count) {
|
static unsigned short *parse_portlist(const char *portlist, unsigned int *count) {
|
||||||
uint32_t bitmap[65536 / 32];
|
uint32_t bitmap[65536 / 32];
|
||||||
unsigned short *result;
|
unsigned short *result;
|
||||||
unsigned short i;
|
unsigned int i;
|
||||||
unsigned int p;
|
unsigned int p;
|
||||||
|
|
||||||
memset(bitmap, 0, sizeof(bitmap));
|
memset(bitmap, 0, sizeof(bitmap));
|
||||||
|
|||||||
Reference in New Issue
Block a user