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:
parent
9f0c2827a4
commit
ed132d87ce
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user