mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
7fa102b487
Ensure that either a valid address is returned in address pointers, or that the address data is zeroed on error. Ensure that free_interface_address6_list handles NULL lists. Add unit tests for get_interface_address* failure cases. Fixes bug #17173. Patch by fk/teor, not in any released version of tor.
11 lines
560 B
Plaintext
11 lines
560 B
Plaintext
o Minor bug fixes (addresses, testing):
|
|
- Handle errors in get_interface_address6_via_udp_socket_hack by
|
|
returning an empty list (no addresses found). This bug was triggered
|
|
in ElectroBSD/FreeBSD jails.
|
|
- Ensure that either a valid address is returned in address pointers,
|
|
or that the address data is zeroed on error.
|
|
- Ensure that free_interface_address6_list handles NULL lists.
|
|
- Add unit tests for get_interface_address* failure cases.
|
|
Fixes bug #17173.
|
|
Patch by fk/teor, not in any released version of tor.
|