RFR 8201867: Kerberos keytabs with holes in certain places are parsed incorrectly

Weijun Wang weijun.wang at oracle.com
Tue May 8 06:47:43 UTC 2018


Ping again. Thanks.

> On Apr 24, 2018, at 10:42 PM, Weijun Wang <weijun.wang at oracle.com> wrote:
> 
> Please take a review at
> 
>  http://cr.openjdk.java.net/~weijun/8201867/webrev.00/
> 
> When the hole in keytab is right on the 8192 buffer boundary, skip(n) does not return n.
> 
> I are not sure if I can do something like "while (i < n) i += skip(n)" because skip(n) can return zero and it does not understand EOF. Therefore I readNBytes(n) and discard the result. If you have a better solution, I'll be happy to know.
> 
> Thanks
> Max
> 



More information about the security-dev mailing list