1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r17902: Fix possible null deref caught by Stanford checker.

Jeremy.
(This used to be commit e8b0649fe1)
This commit is contained in:
Jeremy Allison 2006-08-29 01:11:02 +00:00 committed by Gerald (Jerry) Carter
parent 9f0c2827a4
commit ed132d87ce

View File

@ -1613,7 +1613,9 @@ static BOOL cli_get_ea_list(struct cli_state *cli,
struct ea_struct *ea_list;
*pnum_eas = 0;
*pea_list = NULL;
if (pea_list) {
*pea_list = NULL;
}
if (!cli_send_trans(cli, SMBtrans2,
NULL, /* Name */