mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
s3:libsmb: SMBC_getatr do not let ino undefined on success
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
cfedd4fe69
commit
0abe678af8
@@ -583,6 +583,9 @@ SMBC_getatr(SMBCCTX * context,
|
|||||||
if (change_time_ts != NULL) {
|
if (change_time_ts != NULL) {
|
||||||
*change_time_ts = w_time_ts;
|
*change_time_ts = w_time_ts;
|
||||||
}
|
}
|
||||||
|
if (ino) {
|
||||||
|
*ino = 0;
|
||||||
|
}
|
||||||
TALLOC_FREE(frame);
|
TALLOC_FREE(frame);
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user