"aalt5_len" in the ATM pseudo-header is not guaranteed to be set to a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 18 Oct 2005 10:39:23 +0000 (10:39 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 18 Oct 2005 10:39:23 +0000 (10:39 +0000)
commit33e4e45661911c37a9661535eefef366ced71c08
tree9fdb4883623b0ca9ec8f257a75ed16cf8bb6ccf8
parent2e16aec16d696f9cdc70231f5de09e534923bc8d
"aalt5_len" in the ATM pseudo-header is not guaranteed to be set to a
non-zero value - it's only set from file formats that provide it in a
per-packet header, and only the old DOS Sniffer did so, so it's zero for
all other capture types.  Instead, check the actual packet data length.

Also check it against 16; 14 bytes isn't large enough for a LANE
Ethernet frame.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16261 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/atm.c