|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v2] target/m68k: fix set_cc_op() |
Date: | Thu, 21 Dec 2017 08:47:49 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 12/21/2017 08:05 AM, Laurent Vivier wrote: > The first call of set_cc_op() in a new translation sequence > is done with old_op set to CC_OP_DYNAMIC (-1). > > This will do an out of bound access to the array cc_op_live[]. > > We fix that by adding an entry in cc_op_live[] for CC_OP_DYNAMIC. > > Reported-by: Thomas Huth <address@hidden> > Signed-off-by: Laurent Vivier <address@hidden> > Reviewed-by: Paolo Bonzini <address@hidden> > --- > v2: no need to discard QREG_CC_OP (rth) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |