[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about partial body lengths



thanks for the response!

wk>  On Tue, Dec 07, 1999 at 05:10:58PM +0900
wk>  sen_ml@xxxxxxxxxxx wrote:

sen_ml>   while processing an openpgp packet w/ partial body length headers,
sen_ml> once a partial body length is encountered, is it safe to assume that
sen_ml> the subsequent appearance of a non-'partial body length' header allows 
sen_ml> the computation of the end of a packet?

wk> Sure, simply because there is no other way to find the end of the packet.
wk> If you see a non partial length header que get the length of the
wk> packet from it and stop processinf the packet after reading that
wk> amount of data.

great!  the conclusion seems quite reasonable to me :-)

may be it's a reading comprehension problem on my part, but i don't
think rfc 2440 (at least my local copy) actually says this explicitly.

i would appreciate it if someone would point me at the section or
sections which say so.  the closest thing i see has to do w/ not using
a partial body length as the final part (cf. my previous post).

imho, it would be a helpful thing to have mentioned in the rfc (if it
isn't already).