mirror repository of the tor core protocol in case of issues
Go to file
Nick Mathewson 37953497d8 Don't compute ((uint64_t)1)<<64 in round_to_power_of_2
This would be undefined behavior if it happened. (It can't actually
happen as we're using round_to_power_of_2, since we would have to
be trying to allocate exabytes of data.)

While we're at it, fix the behavior of round_to_power_of_2(0),
and document the function better.

Fix for bug 6831.
2012-09-14 09:51:24 -04:00
changes Don't compute ((uint64_t)1)<<64 in round_to_power_of_2 2012-09-14 09:51:24 -04:00
contrib Bump version to 0.2.4.2-alpha-dev 2012-09-10 19:49:20 -04:00
doc raise bandwidthrate/bandwidthburst to a new "infinite" 2012-09-10 03:03:06 -04:00
src Don't compute ((uint64_t)1)<<64 in round_to_power_of_2 2012-09-14 09:51:24 -04:00
.gitignore Update .gitignore with new autotools droppings from nonrecursive make 2012-08-27 10:12:01 -04:00
acinclude.m4 Rename configure.in to configure.ac 2012-09-04 11:12:00 -04:00
autogen.sh Use autoreconf, not autoconf&&automake&&etc in autogen.sh 2010-09-27 11:20:12 -04:00
ChangeLog put all the changelogs into master 2012-09-11 14:36:54 -04:00
configure.ac Merge remote-tracking branch 'public/bug6538' 2012-09-11 17:51:36 -04:00
Doxyfile.in Fix up all doxygen warnings other than "foo is not documented" 2011-03-16 14:47:27 -04:00
INSTALL Small fixes for the 2702 implementation 2011-04-02 12:15:08 +02:00
LICENSE Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
Makefile.am Fix whitespace in Makefile.am 2012-09-07 14:46:03 -04:00
Makefile.nmake Initial patch to build Tor with msvc and nmake 2011-08-01 12:36:59 -04:00
README we have two faqs for now 2010-02-22 00:41:48 -05:00
ReleaseNotes put all the changelogs into master 2012-09-11 14:36:54 -04: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

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

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

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

Making applications work with Tor:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/faq.html
        https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ