git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0c282
)
r17902: Fix possible null deref caught by Stanford checker.
author
Jeremy Allison
<jra@samba.org>
Tue, 29 Aug 2006 01:11:02 +0000
(
01:11
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:38:58 +0000
(11:38 -0500)
Jeremy.
(This used to be commit
e8b0649fe167c3446eb6121ed666254fdf53aa58
)
source3/libsmb/clifile.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clifile.c
b/source3/libsmb/clifile.c
index fb07dae427dbf846a41d150388d5a151be352ae5..3cf8cae320afc99af6094ac05f54e3d964a98bc9 100644
(file)
--- a/
source3/libsmb/clifile.c
+++ b/
source3/libsmb/clifile.c
@@
-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 */