mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libsmb: Parse reparse tag in query_directory response
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
4c44b6e199
commit
9e3856ecf8
@ -1352,6 +1352,7 @@ static NTSTATUS parse_finfo_id_both_directory_info(const uint8_t *dir_data,
|
||||
if (namelen > (dir_data_length - 104)) {
|
||||
return NT_STATUS_INFO_LENGTH_MISMATCH;
|
||||
}
|
||||
finfo->reparse_tag = IVAL(dir_data + 64, 0);
|
||||
slen = CVAL(dir_data + 68, 0);
|
||||
if (slen > 24) {
|
||||
return NT_STATUS_INFO_LENGTH_MISMATCH;
|
||||
|
Loading…
Reference in New Issue
Block a user