diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-04-28 18:34:02 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-04-28 18:34:02 +0000 |
commit | 38db8769c953ce865d0c9fe64a29652b5df5f336 (patch) | |
tree | 83c1347b65b5c469b79c596f453f2ae0130d9f5c | |
parent | 618b8887dceb1c754d4698cfdb80448f320894cd (diff) |
In dissect_pipe_lanman(), return FALSE if p_tvb is null, no matter what.
Fixes bug 132.
svn path=/trunk/; revision=14221
-rw-r--r-- | epan/dissectors/packet-smb-pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb-pipe.c b/epan/dissectors/packet-smb-pipe.c index 875a3a5b3b..b6d0a6129f 100644 --- a/epan/dissectors/packet-smb-pipe.c +++ b/epan/dissectors/packet-smb-pipe.c @@ -2635,7 +2635,7 @@ dissect_pipe_lanman(tvbuff_t *pd_tvb, tvbuff_t *p_tvb, tvbuff_t *d_tvb, if (!proto_is_protocol_enabled(find_protocol_by_id(proto_smb_lanman))) return FALSE; - if (smb_info->request && p_tvb == NULL) { + if (p_tvb == NULL) { /* * Requests must have parameters. */ |