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:
parent
4e3ddfc4c1
commit
3ceef88b49
|
@ -1357,7 +1357,6 @@ opensafety_package_dissector(const gchar *protocolName, const gchar *sub_diss_ha
|
||||||
|
|
||||||
while ( frameOffset < length )
|
while ( frameOffset < length )
|
||||||
{
|
{
|
||||||
/** This case can occurs only during fuzztest or randpkt testing. */
|
|
||||||
if ( ( length - frameOffset ) <= 0 )
|
if ( ( length - frameOffset ) <= 0 )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue