- May 31, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
(For bug 5969 fix)
-
Nick Mathewson authored
-
- May 30, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
It turns out that if you set the third argument of __attribute__(format) to 0, GCC and Clang will check the format argument without expecting to find variadic arguments. This is the correct behavior for vsnprintf, vasprintf, and vscanf. I'm hoping this will fix bug 5969 (a clang warning) by telling clang that the format argument to tor_vasprintf is indeed a format string.
-
(Tweaked by nickm)
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- May 29, 2012
-
-
Linus Nordberg authored
-
- May 24, 2012
-
-
Nick Mathewson authored
Torbutton needs this; see bug 5954 and 4718.
-
Roger Dingledine authored
-
- May 18, 2012
-
-
George Kadianakis authored
-
Nick Mathewson authored
-
Nick Mathewson authored
To hit this leak, you need to be a relay that gets a RESOLVE request or an exit node getting a BEGIN or RESOLVE request. You must either have unconfigured (and unconfigurable) nameservers, or you must have somehow set DisableNetwork after a network request arrived but before you managed to process it. So, I doubt this is reached often. Still, a leak's a leak. Fix for bug 5916; bugfix on 0.2.3.9-alpha and 0.1.2.1-alpha.
-
Nick Mathewson authored
-
George Kadianakis authored
-
George Kadianakis authored
-
George Kadianakis authored
-
- May 16, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
(When the correct answer is given in terms of seconds since the epoch, it's hard to be sure that it really is the right answer just by reading the code.)
-
Nick Mathewson authored
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
* It seems parse_http_time wasn't parsing correctly any date with commas (RFCs 1123 and 850). Fix that. * It seems parse_http_time was reporting the wrong month (they start at 0, not 1). Fix that. * Add some tests for parse_http_time, covering all three formats.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
In connection_ap_handshake_process_socks(), mark the socks request as finished if a reply is send after a parse error Silences the log message: [warn] {BUG} _connection_mark_unattached_ap(): Bug: stream (marked at connection_edge.c:2224) sending two socks replies? after the client triggered the "Tor is not an HTTP Proxy" response. No additional socks reply was sent, though.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Previously, we only did this check at startup, which could lead to us holding a guard indefinitely, and give weird results. Fixes bug 5380; bugfix on 0.2.1.14-rc. (Patch by Roger; changes file and commit message by Nick)
-
Nick Mathewson authored
-