diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-05 11:40:33 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-08-10 17:49:51 -0400 |
commit | d5cfbf96a2dbbee4501da92d5a21d0c66732ae24 (patch) | |
tree | 2a4983a697ac6dc5faf87b39460cb03edbbe5f88 /src/or/rendservice.h | |
parent | 0a0f93d277046a524740ad110060abf8ed137b8f (diff) | |
download | tor-d5cfbf96a2dbbee4501da92d5a21d0c66732ae24.tar.gz tor-d5cfbf96a2dbbee4501da92d5a21d0c66732ae24.zip |
Fix an uninitialized-read when parsing v3 introduction requests.
Fortunately, later checks mean that uninitialized data can't get sent
to the network by this bug. Unfortunately, reading uninitialized heap
*can* (in some cases, with some allocators) cause a crash if you get
unlucky and go off the end of a page.
Found by asn. Bugfix on 0.2.4.1-alpha.
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r-- | src/or/rendservice.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h index ff31ba6edb..caf88a3d64 100644 --- a/src/or/rendservice.h +++ b/src/or/rendservice.h @@ -56,8 +56,6 @@ struct rend_intro_cell_s { uint16_t auth_len; /* Auth data */ uint8_t *auth_data; - /* timestamp */ - uint32_t timestamp; /* Rendezvous point's IP address/port, identity digest and onion key */ extend_info_t *extend_info; } v3; |