Re: [PULL 06/35] spapr: Fail CAS if option vector table cannot be parsed

2020-03-20 Thread Peter Maydell
On Mon, 3 Feb 2020 at 06:11, David Gibson wrote: > > From: Greg Kurz > > Most of the option vector helpers have assertions to check their > arguments aren't null. The guest can provide an arbitrary address > for the CAS structure that would result in such null arguments. > Fail CAS with H_PARAMET

[PULL 06/35] spapr: Fail CAS if option vector table cannot be parsed

2020-02-02 Thread David Gibson
From: Greg Kurz Most of the option vector helpers have assertions to check their arguments aren't null. The guest can provide an arbitrary address for the CAS structure that would result in such null arguments. Fail CAS with H_PARAMETER and print a warning instead of aborting QEMU. Signed-off-by