On 21.01.2010, at 18:36, Marcelo Tosatti wrote: > On Thu, Jan 21, 2010 at 12:19:07PM +0100, Christian Borntraeger wrote: >> v2: apply Avis suggestions about ARRAY_SIZE. >> >> kvm_handle_sie_intercept uses a jump table to get the intercept handler >> for a SIE intercept. Static code analysis revealed a potential problem: >> the intercept_funcs jump table was defined to contain (0x48 >> 2) entries, >> but we only checked for code > 0x48 which would cause an off-by-one >> array overflow if code == 0x48. >> >> Use the compiler and ARRAY_SIZE to automatically set the limits. >> >> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> > > Applied and queued for .33, CC: stable, thanks. Yes. Christian, please get this into 2.6.32-stable. Alex -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html