diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-28 11:33:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-28 11:33:55 +0000 |
commit | 390d5bbb55afe74e2db5145691e826b77af6e301 (patch) | |
tree | e467dcfa9bcf64c46e3299c690dc9e38602e29be /smb.h | |
parent | ce66d97e35ffc7e5614f50a6f04b23e8c2b20364 (diff) | |
download | wireshark-390d5bbb55afe74e2db5145691e826b77af6e301.tar.gz wireshark-390d5bbb55afe74e2db5145691e826b77af6e301.tar.bz2 wireshark-390d5bbb55afe74e2db5145691e826b77af6e301.zip |
If a request has already been processed, and we fail to find its
"smb_saved_info_t" in the table of requests whose replies have been
found, don't look it up in the table of requests whose replies have not
been found - if the request in question has no reply in the capture,
that may find some later frame in the same conversation with the same
MID, and we don't need that information anyway - the only reason we
*need* that structure is to save information in it for use when
processing its reply, and we already did that the first time we
processed the request. (The information for the later frame may be bad,
e.g. having a null "extra_info" pointer, or having one that points to
information for another request.)
Arrange that we don't use the pointer to the "smb_saved_info_t" when
processing a request except to save information if the request hasn't
already been processed, as that pointer may not be valid if the request
has already been processed, as per the above.
svn path=/trunk/; revision=4292
Diffstat (limited to 'smb.h')
-rw-r--r-- | smb.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,7 @@ * Defines for smb packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: smb.h,v 1.26 2001/11/21 06:25:58 guy Exp $ + * $Id: smb.h,v 1.27 2001/11/28 11:33:55 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -246,6 +246,7 @@ typedef struct smb_info { gboolean unicode; /* Are strings in this SMB Unicode? */ gboolean request; /* Is this a request? */ gboolean unidir; + int info_level; int info_count; smb_saved_info_t *sip; /* smb_saved_info_t, if any, for this */ } smb_info_t; |