]> git.ipfire.org Git - thirdparty/tor.git/commit
Check for stream_id, not conn, on extend cells.
authorNick Mathewson <nickm@torproject.org>
Wed, 15 Aug 2012 17:16:41 +0000 (13:16 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 15 Aug 2012 17:16:41 +0000 (13:16 -0400)
commitcdd882ee71fb2966854fe271d9896b7bf389b35c
tree837a01b666738c9794dd00541488a812b5ae0c03
parentc9d3e09cf8d7fb5e2ed1e9f7bb5e37a1a1319792
Check for stream_id, not conn, on extend cells.

Extend cells aren't allowed to have a stream_id, but we were only
blocking them when they had a stream_id that corresponded to a
connection.  As far as I can tell, this change is harmless: it will
make some kinds of broken clients not work any more, but afaik nobody
actually make a client that was broken in that way.

Found while hunting for other places where we made the same mistake
as in 6271.

Bugfix on d7f50337c14c back from May 2003, which introduced
telescoping circuit construction into 0.0.2pre8.
changes/bug6271-related [new file with mode: 0644]
src/or/relay.c