Ethereal-dev: [ethereal-dev] Error in certificate request parsing in packet-isakmp.c

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

From: "Yaniv Kaul" <ykaul@xxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 21:20:20 +0200
Hi,
After a lot of investigation, I found an error in the Cert request parsing
in Ethereal. However, I can't see why it is happening -
The certificate request data is parsed a byte too short. See attached bmp,
that shows the error: Had it been taking one more byte, 42 bytes, as it
should and not 41, it would have parsed the next payload ok. (byte value =
30, which is not highlighted, belongs to the Cert data!).

Problem is, the code looks fine to me, I can't see where the error is.
The function involved is dissect_certreq()

Anyone?
Thanks in advance.

Yaniv Kaul mailto:ykaul@xxxxxxxxxxxxxx
 Check Point   Software   Technologies Ltd.
 3A Jabotinsky St.  Diamond Bldg.
 Ramat-Gan  52520 ,  ISRAEL
 Phone:     +972-3-753-4848
 Fax:       +972-3-575-9256
 http://www.checkpoint.com/
=========================================================================
This message may contain confidential and/or proprietary information, and
is intended only for the person / entity to whom it was originally
addressed. The content of this message may contain private views and
opinions which do not constitute a formal disclosure or commitment unless
specifically stated.

Attachment: ikecap
Description: Binary data

Attachment: certreq.zip
Description: Zip compressed data