On 13 November 2017 at 06:26, P J P <[email protected]> wrote: > From: Prasad J Pandit <[email protected]> > > An 'offset' parameter sent to highbank register r/w functions > could be greater than number(NUM_REGS=0x200) of hb registers, > leading to an OOB access issue. Add check to avoid it. > > Reported-by: Moguofang (Dennis mo) <[email protected]> > Signed-off-by: Prasad J Pandit <[email protected]> > --- > hw/arm/highbank.c | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > Update: use HWADDR_PRIx to print offset > -> https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg02116.html
Applied to target-arm.next, thanks. -- PMM
