Ethereal-dev: RE: InsecureCalls project (was: Re: [Ethereal-dev] Re: rev 15660:/trunk/plugins/

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Andreas Sikkema" <andreas.sikkema@xxxxxxxxxxxx>
Date: Fri, 2 Sep 2005 11:08:03 +0200
ethereal-dev-bounces@xxxxxxxxxxxx wrote:

> Guy Harris wrote:
>> A lot of the offending loops are in code processing TLVs; a common
>> routine to handle TLVs might help here.
> 
> Seconded. This would be *very* nice to have.

Maybe a proto_add_tlv() function which has an array of possible 
tags with their meaning and returns how many bytes the offset 
has to be increased when the value has been added to the "tree"?

-- 
Andreas Sikkema                     bbned NV
Van Vollenhovenstraat 3    3016 BE Rotterdam
t: +31 (0)10 2245544  f: +31 (0)10 413 65 45