mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r17866: Fix possible null deref - found by Stanford checker.
Jeremy. (This used to be commit 84e8cc0593c20b1262965a320d89b72a3dc9b402)
This commit is contained in:
parent
8be6458368
commit
767820e462
@ -2056,7 +2056,7 @@ char* ipstr_list_make(char** ipstr_list, const struct ip_service* ip_list, int i
|
||||
int i;
|
||||
|
||||
/* arguments checking */
|
||||
if (!ip_list && !ipstr_list) return 0;
|
||||
if (!ip_list || !ipstr_list) return 0;
|
||||
|
||||
*ipstr_list = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user