1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00

r17866: Fix possible null deref - found by Stanford checker.

Jeremy.
This commit is contained in:
Jeremy Allison
2006-08-28 02:27:49 +00:00
committed by Gerald (Jerry) Carter
parent 7d3b11ab18
commit 84e8cc0593

View File

@@ -2056,7 +2056,7 @@ char* ipstr_list_make(char** ipstr_list, const struct ip_service* ip_list, int i
int i; int i;
/* arguments checking */ /* arguments checking */
if (!ip_list && !ipstr_list) return 0; if (!ip_list || !ipstr_list) return 0;
*ipstr_list = NULL; *ipstr_list = NULL;