[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about partial body lengths
On Tue, Dec 07, 1999 at 05:10:58PM +0900
sen_ml@xxxxxxxxxxx wrote:
> while processing an openpgp packet w/ partial body length headers,
> once a partial body length is encountered, is it safe to assume that
> the subsequent appearance of a non-'partial body length' header allows the
> computation of the end of a packet?
Sure, simply because there is no other way to find the end of the packet.
If you see a non partial length header que get the length of the
packet from it and stop processinf the packet after reading that
amount of data.
--
Werner Koch at guug.de www.gnupg.org keyid 621CC013