Re: [PATCH] x86emul: deal with decode failure in predicates test

2023-11-22 Thread Andrew Cooper
On 22/11/2023 7:26 am, Jan Beulich wrote: > Don't let this end in SEGV, due to the subsequent NULL deref. > > Signed-off-by: Jan Beulich Acked-by: Andrew Cooper

[PATCH] x86emul: deal with decode failure in predicates test

2023-11-21 Thread Jan Beulich
Don't let this end in SEGV, due to the subsequent NULL deref. Signed-off-by: Jan Beulich --- a/tools/tests/x86_emulator/predicates.c +++ b/tools/tests/x86_emulator/predicates.c @@ -2189,6 +2189,13 @@ void do_test(uint8_t *instr, unsigned in { s = x86_decode_insn(ctxt, fetch); +