[security-dev 00852]: Re: Code review request: 6813340: X509Factory should not depend on is.available()==0

Xuelei Fan Xuelei.Fan at Sun.COM
Mon May 25 15:48:24 UTC 2009



Xuelei Fan wrote:
>
>>> t to support indefinite-length, I think you can simply keep reading 
>>> until get two zero bytes.
>>
>> As I understand, "0x80 0x06 0x07 0x01 0x00 0x00" is not an indef-len 
>> BER.
> You're right, it is not a valid indef-len BER. I will look twice of 
> readBERInternal() tomorrow.
>
>
The process of parsing indef-len BER content looks fine for me.

Andrew



More information about the security-dev mailing list