mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Fix a crash bug when running an node without IPv6-exit support.
Fixes bug 7814; bugfix on 0.2.4.7-alpha.
This commit is contained in:
parent
127cb39ffc
commit
5e22cfe2b4
4
changes/bug7814
Normal file
4
changes/bug7814
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Major bugfixes:
|
||||||
|
- Avoid crashing when, as a node without IPv6-exit support, a
|
||||||
|
client insists on getting an IPv6 address or nothing. Fixes bug
|
||||||
|
#7814; bugfix on 0.2.4.7-alpha.
|
@ -2427,6 +2427,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
|
|||||||
tor_free(address);
|
tor_free(address);
|
||||||
relay_send_end_cell_from_edge(rh.stream_id, circ,
|
relay_send_end_cell_from_edge(rh.stream_id, circ,
|
||||||
END_STREAM_REASON_EXITPOLICY, NULL);
|
END_STREAM_REASON_EXITPOLICY, NULL);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user