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

r16311: Check for NULL return. Klocwork .

Jeremy.
(This used to be commit c430730f5a0dc00626b9b924e88adfb84cd48869)
This commit is contained in:
Jeremy Allison 2006-06-16 22:40:07 +00:00 committed by Gerald (Jerry) Carter
parent 17621ea080
commit b85b18d794

@ -1063,6 +1063,10 @@ static struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata,
struct ea_list *tmp;
struct ea_list *eal = read_ea_list_entry(ctx, pdata + offset + 4, data_size - offset - 4, NULL);
if (!eal) {
return NULL;
}
DLIST_ADD_END(ea_list_head, eal, tmp);
if (next_offset == 0) {
break;