In message: <[EMAIL PROTECTED]> Chan Tur Wei <[EMAIL PROTECTED]> writes: : Testing for the condition avoids the fault but leaves the card unusable : under -newcard. : : ====================================================================== : --- pccard_cis.c Tue Oct 8 13:04:34 2002 : +++ pccard_cis.c.new Tue Oct 8 13:04:01 2002 : @@ -152,6 +152,11 @@ : while (1) { : /* get the tuple code */ : : + if (tuple.ptr >= PCCARD_CIS_SIZE) { : + ret = 1; : + goto done; : + } : + : tuple.code = pccard_cis_read_1(&tuple, tuple.ptr); : : /* two special-case tuples */ : ======================================================================
Unfortunately, I don't think that this is valid. A longlink to common memory can legitimately be outside of this range. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message