mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3:libsmb: clistr_pull_talloc() doesn't need base_ptr and flags2 with STR_ASCII
interpret_short_filename() always parses OEM_Strings (in DOS charset). metze
This commit is contained in:
@ -254,8 +254,8 @@ static bool interpret_short_filename(TALLOC_CTX *ctx,
|
||||
finfo->mtime_ts.tv_nsec = finfo->atime_ts.tv_nsec = 0;
|
||||
finfo->size = IVAL(p,26);
|
||||
ret = clistr_pull_talloc(ctx,
|
||||
cli->inbuf,
|
||||
SVAL(cli->inbuf, smb_flg2),
|
||||
NULL,
|
||||
0,
|
||||
&finfo->name,
|
||||
p+30,
|
||||
12,
|
||||
|
Reference in New Issue
Block a user