mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
serious bug in cpuworker. need to think about redesign or how to handle it.
svn:r448
This commit is contained in:
parent
001cd08b2e
commit
556bea4b6d
@ -55,6 +55,7 @@ int connection_cpu_process_inbuf(connection_t *conn) {
|
||||
|
||||
connection_fetch_from_buf(buf,LEN_ONION_RESPONSE,conn);
|
||||
|
||||
/* XXX conn->circ might already have been closed. Serious bug. Suck. */
|
||||
if(*buf == 0 || conn->circ->p_conn == NULL ||
|
||||
onionskin_process(conn->circ, buf+1, buf+1+DH_KEY_LEN) < 0) {
|
||||
log_fn(LOG_DEBUG,"decoding onion, onionskin_process, or p_conn failed. Closing.");
|
||||
|
Loading…
Reference in New Issue
Block a user