1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Use const and avoid strdup in fingerprint parsing

This commit is contained in:
dmiller
2022-09-13 16:10:05 +00:00
parent f44f255da3
commit 9a494348c5
4 changed files with 72 additions and 78 deletions

View File

@@ -80,6 +80,6 @@ const char *string_pool_substr_strip(const char *s, const char *t);
/* Skip over whitespace to find the beginning of a word, then read until the
next whitespace character. Returns NULL if only whitespace is found. */
const char *string_pool_strip_word(const char *s);
const char *string_pool_strip_word(const char *s, const char *end);
#endif // STRING_POOL_H