Hello Bart,

The only option to enter in an infinite loop is stsd->tsd_nalloc = 0.
Is it possible ? no check of this value is done before the sentence "for..."

 "
    296         nkeys = ((stsd = self->ul_stsd) != NULL)? stsd->tsd_nalloc : 8;
    297         for (; key >= nkeys; nkeys <<= 1)
    298                 continue;
"
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to