make fid->filename tracking work for files opened with NTCreateAndX
This needs to be done for all other Create/Open calls as well but would notmally just be 6 lines tyo add. I rarely see older methods to open files so others using older clients are encoraged to use these 6 lines to the other places where needed. svn path=/trunk/; revision=18515
This commit is contained in:
parent
986085204d
commit
15c935b535
|
@ -9133,6 +9133,14 @@ dissect_nt_create_andx_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
|
|||
fn);
|
||||
COUNT_BYTES(fn_len);
|
||||
|
||||
/* store it for the fid->name/openframe/closeframe matching in
|
||||
* dissect_smb_fid() called from the response.
|
||||
*/
|
||||
if((!pinfo->fd->flags.visited) && si->sip && fn){
|
||||
si->sip->extra_info_type=SMB_EI_FILENAME;
|
||||
si->sip->extra_info=se_strdup(fn);
|
||||
}
|
||||
|
||||
if (check_col(pinfo->cinfo, COL_INFO)) {
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, ", Path: %s",
|
||||
format_text(fn, strlen(fn)));
|
||||
|
|
Loading…
Reference in New Issue