ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] RFC: new TVBUFF type

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 23 May 2001 18:11:33 -0700 (PDT)
> > However, if the rule is
> >
> > accessors throw an exception if *any* of the data they need is
> > missing, for *any* reason
> >
> > then if a dissector tries to fetch stuff from a region that includes the
> > hole, an exception will be thrown - and any dissector that misbehaves if
> > an exception is thrown at any place where it calls an accessor is
> > *already* broken.
> 
> See above.

Umm, the "above" doesn't, in any way, shape, or form, indicate that
throwing an exception is insufficient to make COMPOSITES-with-holes as
safe as any other type of tvbuff.