diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-06-03 21:24:25 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-06-03 21:24:25 +0000 |
commit | 748437f43d472b8829d5ed9dbd72e072df4dc6f2 (patch) | |
tree | 483b957bc4fb04494ffa4799e141c39a16100427 /epan/dissectors/packet-ifcp.c | |
parent | c47e8dab0cca0293ae752d7135ba1fc0b8eac2a8 (diff) |
From Frank Schorr:
The get_ifcp_pdu_len() call used for the tcp_dissect_pdus() call does not mask
off the frame length properly. The result is that the "Flags" field
incorrectly becomes the high order part of the Frame Length.
svn path=/trunk/; revision=25416
Diffstat (limited to 'epan/dissectors/packet-ifcp.c')
-rw-r--r-- | epan/dissectors/packet-ifcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ifcp.c b/epan/dissectors/packet-ifcp.c index 627457a2fe..71e2f48923 100644 --- a/epan/dissectors/packet-ifcp.c +++ b/epan/dissectors/packet-ifcp.c @@ -515,7 +515,7 @@ get_ifcp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset) return 0; } - pdu_len=tvb_get_ntohs(tvb, offset+12)*4; + pdu_len=(tvb_get_ntohs(tvb, offset+12)&0x03FF)*4; return pdu_len; } |