dhclient: improve error handling parsing option 119
Reported by: Shlomi Oberman, JSOF Submitted by: delphij Reviewed by: markj Tested by: markj
This commit is contained in:
parent
f4d7179ad3
commit
57b278f886
@ -298,6 +298,8 @@ find_search_domain_name_len(struct option_data *option, size_t *offset)
|
||||
|
||||
pointed_len = find_search_domain_name_len(option,
|
||||
&pointer);
|
||||
if (pointed_len < 0)
|
||||
return (-1);
|
||||
domain_name_len += pointed_len;
|
||||
|
||||
*offset = i + 2;
|
||||
|
Loading…
Reference in New Issue
Block a user