Re: [Qemu-devel] [PATCH] make check-unit: use after free in test-opts-visitor

2019-08-01 Thread Andrey Shinkevich
On 01/08/2019 10:13, Markus Armbruster wrote: > Andrey Shinkevich writes: > >> In struct OptsVisitor, repeated_opts member points to a list in the >> unprocessed_opts hash table after the list has been destroyed. A >> subsequent call to visit_type_int() references the deleted list. It >>

Re: [Qemu-devel] [PATCH] make check-unit: use after free in test-opts-visitor

2019-08-01 Thread Markus Armbruster
Andrey Shinkevich writes: > In struct OptsVisitor, repeated_opts member points to a list in the > unprocessed_opts hash table after the list has been destroyed. A > subsequent call to visit_type_int() references the deleted list. It > results in use-after-free issue. Also, the Visitor object

[Qemu-devel] [PATCH] make check-unit: use after free in test-opts-visitor

2019-07-17 Thread Andrey Shinkevich
In struct OptsVisitor, repeated_opts member points to a list in the unprocessed_opts hash table after the list has been destroyed. A subsequent call to visit_type_int() references the deleted list. It results in use-after-free issue. Also, the Visitor object call back functions are supposed to set