[Repository Listing] / [Wireshark]
 
Wireshark development

Revision 41152


Jump to revision: Previous Next
Author: guy
Date: Thu Feb 23 10:03:16 2012 UTC (14 months, 3 weeks ago)
Log Message:
Do a check of the block total length in pcapng_read_unknown_block().

That means we don't need to do the block length check in
pcapng_read_block(); each block type reader, including the one for
unknown block types, does a check that's as stringent as that block
length check or more stringent, which means any block whose length is
less than the minimum will fail with the same error in both cases.

Fix the message for a too-short NRB.


Changed paths

Path Action
trunk/wiretap/pcapng.c trunk/wiretap/pcapng.c modified Revision Log
Diff to Previous

webmaster [at] wireshark.org
Tango Icons © Tango Desktop Project. Subversion  TortoiseSVN  ViewVC