diff options
author | Gerald Carter <jerry@samba.org> | 2006-06-09 12:25:25 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-06-09 12:25:25 +0000 |
commit | 40c1fd5fe6d7e853128919c5fa8633e2cc68b6c4 (patch) | |
tree | 829e949ea3ae0ffc3b0d155730c3591e8046867e /source/nsswitch | |
parent | ceaad97f523cf302329bb8f1878fdc01508d09a3 (diff) | |
download | samba-40c1fd5fe6d7e853128919c5fa8633e2cc68b6c4.tar.gz samba-40c1fd5fe6d7e853128919c5fa8633e2cc68b6c4.tar.xz samba-40c1fd5fe6d7e853128919c5fa8633e2cc68b6c4.zip |
r16119: pulling changes from 3_0 up to r16117
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_group.c b/source/nsswitch/winbindd_group.c index 7219292724b..5caaa7aa3ad 100644 --- a/source/nsswitch/winbindd_group.c +++ b/source/nsswitch/winbindd_group.c @@ -789,7 +789,7 @@ void winbindd_getgrent(struct winbindd_cli_state *state) /* Append to group membership list */ gr_mem_list = SMB_REALLOC( gr_mem_list, gr_mem_list_len + gr_mem_len); - if (!gr_mem_list) { + if (!gr_mem_list && (group_list[group_list_ndx].num_gr_mem != 0)) { DEBUG(0, ("out of memory\n")); gr_mem_list_len = 0; break; |