On 21/08/2019 14:25, Markus Armbruster wrote:
> Andrey Shinkevich <andrey.shinkev...@virtuozzo.com> writes:
>
>> In the struct OptsVisitor, the '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 reproduced by running the test case
>> under the Valgrind: valgrind tests/test-opts-visitor.
>> A new mode ListMode::LM_TRAVERSED is declared to mark the list
>> traversal completed.
>>
>> Suggested-by: Markus Armbruster <arm...@redhat.com>
>> Signed-off-by: Andrey Shinkevich <andrey.shinkev...@virtuozzo.com>
>
> Reviewed-by: Markus Armbruster <arm...@redhat.com>
>
> Queued. Thanks!
>
Thank you very much Markus!
Andrey
--
With the best regards,
Andrey Shinkevich