No, it's not necessarily the case that a malformed frame will only occur

during fuzz testing or randpkt testing; somebody might be putting bad
packets on the wire to try to, for example, crash or break into your
protocol implementation.

svn path=/trunk/; revision=45749
This commit is contained in:
Guy Harris 2012-10-24 04:03:58 +00:00
parent 4e3ddfc4c1
commit 3ceef88b49
1 changed files with 0 additions and 1 deletions

View File

@ -1357,7 +1357,6 @@ opensafety_package_dissector(const gchar *protocolName, const gchar *sub_diss_ha
while ( frameOffset < length )
{
/** This case can occurs only during fuzztest or randpkt testing. */
if ( ( length - frameOffset ) <= 0 )
break;