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:
committed by
Gerald (Jerry) Carter
parent
7d3b11ab18
commit
84e8cc0593
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user