Skip to content
Snippets Groups Projects
Commit a38aa81b authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

fix another segv, this time in circid fix.

svn:r5312
parent 9b6c5614
Branches
Tags
No related merge requests found
......@@ -394,7 +394,7 @@ circuit_t *
circuit_get_by_circid_orconn(uint16_t circ_id, connection_t *conn)
{
circuit_t *circ = circuit_get_by_circid_orconn_impl(circ_id, conn);
if (circ->marked_for_close)
if (!circ || circ->marked_for_close)
return NULL;
else
return circ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment