1
0
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:
Jeremy Allison 2006-08-28 02:27:49 +00:00 committed by Gerald (Jerry) Carter
parent 8be6458368
commit 767820e462

View File

@ -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;