- Aug 31, 2011
-
-
Nick Mathewson authored
For printf, %f and %lf are synonymous, since floats are promoted to doubles when passed as varargs. It's only for scanf that we need to say "%lf" for doubles and "%f" for floats. Apparenly, some older compilers think it's naughty to say %lf and like to spew warnings about it. Found by grarpamp.
-
Nick Mathewson authored
It had some cpp stuff inside, and older GCCs don't like preprocessor directives inside macro arguments. Found by grarpamp.
-
- Aug 25, 2011
-
-
Sebastian Hahn authored
-
- Aug 24, 2011
-
-
lround() is missing in MS Visual-C's <math.h>. Not available anywhere. Here is an easy patch.
-
- Aug 17, 2011
-
-
Nick Mathewson authored
Fix for bug 3747; bugfix on 0.2.2.26-beta.
-
- Aug 15, 2011
-
-
- Aug 10, 2011
-
-
Sebastian Hahn authored
Starting with Lion, Apple decided to deprecate the system openssl. We can start requiring users to install their own openssl once OS X doesn't ship with it anymore.
-
- Aug 08, 2011
-
-
Nick Mathewson authored
-
Karsten Loesing authored
-
- Jul 20, 2011
-
-
Nick Mathewson authored
Previously, if tor_addr_to_str() returned NULL, we would reuse the last value returned by fmt_addr(). (This could happen if we were erroneously asked to format an AF_UNSPEC address.) Now instead we return "???".
-
- Jul 19, 2011
-
-
Nick Mathewson authored
-
-
- Jul 14, 2011
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
- Jul 13, 2011
-
-
Nick Mathewson authored
It's possible for us to be a server and have a fingerprint without having yet generated a descriptor. Fixes bug 3577; bugfix on 0.2.0.1-alpha
-
- Jul 07, 2011
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Sebastian Hahn authored
The issue was that we overlooked the possibility of reverse DNS success at the end of connection_ap_handshake_socks_resolved(). Issue discovered by katmagic, thanks!
-
- Jul 06, 2011
-
-
Sebastian Hahn authored
Asciidoc was inserting <pre> tags for paragraphs that started with a '+' at the beginning of the line. Instead, we need a space in front of the plus.
-
Roger Dingledine authored
-
- Jul 05, 2011
-
-
Nick Mathewson authored
-
- Jul 01, 2011
-
-
Nick Mathewson authored
-
Nick Mathewson authored
We were using strncpy before, which isn't our style for stuff like this. This isn't a bug, though: before calling strncpy, we were checking that strlen(src) was indeed == HEX_DIGEST_LEN, which is less than sizeof(dst), so there was no way we could fail to NUL-terminate. Still, strncpy(a,b,sizeof(a)) is an idiom that we ought to squash everyplace. Fixes CID #427.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Using strncpy meant that if listenaddress were ever >= sizeof(sockaddr_un.sun_path), we would fail to nul-terminate sun_path. This isn't a big deal: we never read sun_path, and the kernel is smart enough to reject the sockaddr_un if it isn't nul-terminated. Nonetheless, it's a dumb failure mode. Instead, we should reject addresses that don't fit in sockaddr_un.sun_path. Coverity found this; it's CID 428. Bugfix on 0.2.0.3-alpha.
-
Nick Mathewson authored
When we rejected a descriptor for not being the one we wanted, we were letting the parsed descriptor go out of scope. Found by Coverity; CID # 30. Bugfix on 0.2.1.26. (No changes file yet, since this is not in any 0.2.1.x release.)
-
Nick Mathewson authored
-
Nick Mathewson authored
I'm not one to insist on C's miserly stack limits, but allocating a 256K array on the stack is too much even for me. Bugfix on 0.2.1.7-alpha. Found by coverity. Fixes CID # 450.
-
- Jun 25, 2011
-
-
Robert Ransom authored
-
- Jun 24, 2011
-
-
Robert Ransom authored
-
- Jun 23, 2011
-
-
Robert Ransom authored
-
- Jun 22, 2011
-
-
Robert Ransom authored
-
Robert Ransom authored
-
Robert Ransom authored
-
- Jun 21, 2011
-
-
Roger Dingledine authored
otherwise you scp a tarball up but only one version of the website has it.
-
- Jun 20, 2011
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-