Looks good to me.  I would recommend adding information about the
definitions of disk_slices_t and slice_info_t so that someone looking at
the bug can easily identify the problem and understand why your fix is
correct.

thanks,
Moriah

William Schumann wrote:
> http://cr.opensolaris.org/~wmsch/bug-7827/
> http://defect.opensolaris.org/bz/show_bug.cgi?id=7827
> 
> When deleting a slice when there were 4 existing slices was creating the 
> symptom that subsequent slice actions were being ignored.
> 
> Traced it to what is clearly a buffer overflow when clearing the last 
> element of the slice table.
> 
> Tested the case mentioned here on x86.
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to