Ethereal-dev: Re: [ethereal-dev] packet-icq.c ICQ dissector

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

From: Kojak <kojak@xxxxxxxxxx>
Date: Sun, 24 Oct 1999 15:30:11 +0200
> If so, I'd be inclined to extract A and B, update the offset into the
> packet to point to the first byte of the string, scan forward in the
> packet for the '\0' (making sure that you don't run off the end of the
> captured data in the packet), update the offset to refer to the first
> byte after the '\0', and extract D from that offset.

As another side issue; How does one cope with a failing g_malloc call? I've
looked in the code, but that didn't give me any conclusions...

--
Kojak