mirror repository of the tor core protocol in case of issues
Go to file
David Goulet 4ed10e5053 hs: Fix bad use of sizeof() when encoding ESTABLISH_INTRO legacy cell
When encoding a legacy ESTABLISH_INTRO cell, we were using the sizeof() on a
pointer instead of using the real size of the destination buffer leading to an
overflow passing an enormous value to the signing digest function.
Fortunately, that value was only used to make sure the destination buffer
length was big enough for the key size and in this case it always was because
of the overflow.

Fixes #21553

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-02-24 11:36:36 -05:00
changes hs: Fix bad use of sizeof() when encoding ESTABLISH_INTRO legacy cell 2017-02-24 11:36:36 -05:00
contrib Bump to 0.3.0.3-alpha-dev 2017-02-03 13:58:50 -05:00
doc Rename make fuzz to make test-fuzz-corpora 2017-02-14 18:04:10 -05:00
m4 Replace obsolete macros with modern equivalents 2016-12-23 10:34:11 -05:00
scripts Merge branches 'server_ciphers' and 'ciphers.inc' 2017-01-27 16:45:18 -05:00
src hs: Fix bad use of sizeof() when encoding ESTABLISH_INTRO legacy cell 2017-02-24 11:36:36 -05:00
.gitignore Merge branch 'combined-fuzzing-v4' 2017-01-30 08:40:46 -05:00
acinclude.m4 Add a cross-compile action to AC_RUN_IFELSE 2016-12-23 10:34:15 -05:00
autogen.sh Report errors when updating configuration files 2016-12-23 10:35:26 -05:00
ChangeLog Bump to 0.3.0.3-alpha-dev 2017-02-03 13:58:50 -05:00
configure.ac Bump to 0.3.0.3-alpha-dev 2017-02-03 13:58:50 -05:00
Doxyfile.in doxygen says these options are obsolete 2016-10-24 10:31:05 -04:00
INSTALL Small fixes for the 2702 implementation 2011-04-02 12:15:08 +02:00
LICENSE Add __mulodi4 source to src/ext 2016-05-18 09:44:01 -04:00
Makefile.am libfuzzer tweaks per recommendations 2017-01-30 08:37:25 -05:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
README Move hacking documentation into a new subdirectory. 2015-10-09 10:40:53 -04:00
ReleaseNotes forward-port the 0.2.9.9 changelog stanza 2017-01-23 09:42:02 -05:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure && make && make install

To build Tor from a just-cloned git repository:
        sh autogen.sh && ./configure && make && make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/docs/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/projects/tor/wiki/doc/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/docs/faq.html


To get started working on Tor development:
        See the doc/HACKING directory.