diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-05-05 12:19:02 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-05-27 07:45:25 +0200 |
commit | d01127584e70f9242d3dd9bf4c0bdc1980254713 (patch) | |
tree | ed8f2f67b560d36bca85b8cb2d9c135a2224e584 /chardev/char-socket.c | |
parent | 5e959d2e6e698af86a7064ead87ebe47706d99c7 (diff) |
tests/migration: Tighten error checking
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 <armbru@redhat.com>
Message-Id: <20200505101908.6207-5-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'chardev/char-socket.c')
0 files changed, 0 insertions, 0 deletions