mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
whoops, fix seg fault i just introduced
svn:r3828
This commit is contained in:
parent
7373042a7b
commit
22386ecf1e
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ int connection_edge_send_command(connection_t *fromconn, circuit_t *circ,
|
|||
relay_header_t rh;
|
||||
int cell_direction;
|
||||
|
||||
if (fromconn->marked_for_close) {
|
||||
if (fromconn && fromconn->marked_for_close) {
|
||||
log_fn(LOG_WARN,"Bug: called on conn that's already marked for close at %s:%d.",
|
||||
fromconn->marked_for_close_file, fromconn->marked_for_close);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue