Re: [PATCH v2 04/10] tests/migration: Tighten error checking

2020-05-05 Thread Philippe Mathieu-Daudé
On 5/5/20 12:19 PM, Markus Armbruster wrote: migrate_get_socket_address() neglects to check visit_type_SocketAddressList() failure. This smells like a leak, but it actually will crash dereferencing @addrs. Pass &error_abort to remove the code smell. Signed-off-by: Markus Armbruster --- test

[PATCH v2 04/10] tests/migration: Tighten error checking

2020-05-05 Thread Markus Armbruster
migrate_get_socket_address() neglects to check visit_type_SocketAddressList() failure. This smells like a leak, but it actually will crash dereferencing @addrs. Pass &error_abort to remove the code smell. Signed-off-by: Markus Armbruster --- tests/qtest/migration-test.c | 4 ++-- 1 file change