Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-06 | Use __attribute__((fallthrough)) rather than magic GCC comments. | Nick Mathewson | |
GCC added an implicit-fallthrough warning a while back, where it would complain if you had a nontrivial "case:" block that didn't end with break, return, or something like that. Clang recently added the same thing. GCC, however, would let you annotate a fall-through as intended by any of various magic "/* fall through */" comments. Clang, however, only seems to like "__attribute__((fallthrough))". Fortunately, GCC accepts that too. A previous commit in this branch defined a FALLTHROUGH macro to do the right thing if GNUC is defined; here we replace all of our "fall through" comments with uses of that macro. This is an automated commit, made with the following perl one-liner: #!/usr/bin/perl -i -p s#/\* *falls? ?thr.*?\*/#FALLTHROUGH;#i; (In order to avoid conflicts, I'm applying this script separately to each maint branch. This is the 0.4.2 version.) | |||
2020-05-06 | Merge branch 'maint-0.4.1' into maint-0.4.2 | Nick Mathewson | |
2020-05-06 | Merge branch 'bug34078_prelim_035' into bug34078_prelim_041 | Nick Mathewson | |
2020-05-06 | Remove an incorrect "Fall through" comment. | Nick Mathewson | |
2020-05-06 | address.c: add a single (harmless) missing break; | Nick Mathewson | |
2020-05-06 | Add a fallthrough macro. | Nick Mathewson | |
This macro defers to __attribute__((fallthrough)) on GCC (and clang). Previously we had been using GCC's magic /* fallthrough */ comments, but clang very sensibly doesn't accept those. Since not all compiler recognize it, we only define it when our configure script detects that it works. Part of a fix for 34078. | |||
2020-03-18 | Merge branch 'maint-0.4.1' into maint-0.4.2 | Nick Mathewson | |
2020-03-18 | Merge branch 'maint-0.3.5' into maint-0.4.1 | Nick Mathewson | |
2020-03-18 | Port rsa_private_key_too_long() to work on OpenSSL 1.1.0. | Nick Mathewson | |
2020-03-17 | Merge branch 'maint-0.4.1' into maint-0.4.2 | Nick Mathewson | |
2020-03-17 | Merge branch 'trove_2020_002_041' into maint-0.4.1 | Nick Mathewson | |
2020-03-17 | Merge branch 'trove_2020_002_035' into maint-0.3.5 | Nick Mathewson | |
2020-03-17 | Merge branch 'maint-0.4.1' into maint-0.4.2 | Nick Mathewson | |
2020-03-17 | Merge branch 'maint-0.3.5' into maint-0.4.1 | Nick Mathewson | |
2020-03-17 | Trivial bugfixes found during TROVE investigation. | George Kadianakis | |
2020-03-17 | Merge branch 'trove_2020_002_035' into trove_2020_002_041 | Nick Mathewson | |
2020-03-17 | Use >= consistently with max_bits. | Nick Mathewson | |
2020-03-17 | Extract key length check into a new function, and check more fields. | Nick Mathewson | |
In the openssl that I have, it should be safe to only check the size of n. But if I'm wrong, or if other openssls work differently, we should check whether any of the fields are too large. Issue spotted by Teor. | |||
2020-03-14 | Merge branch 'trove_2020_002_035' into trove_2020_002_041 | Nick Mathewson | |
2020-03-14 | Fix memory leak in crypto_pk_asn1_decode_private. | Nick Mathewson | |
(Deep, deep thanks to Taylor for reminding me to test this!) | |||
2020-03-14 | Revise TROVE-2020-002 fix to work on older OpenSSL versions. | Nick Mathewson | |
Although OpenSSL before 1.1.1 is no longer supported, it's possible that somebody is still using it with 0.3.5, so we probably shouldn't break it with this fix. | |||
2020-03-13 | Merge branch 'maint-0.3.5' into maint-0.4.1 | Nick Mathewson | |
2020-03-13 | Merge branch 'maint-0.4.1' into maint-0.4.2 | Nick Mathewson | |
2020-03-13 | Merge remote-tracking branch 'tor-github/pr/1693/head' into maint-0.3.5 | Nick Mathewson | |
2020-02-05 | Merge branch 'trove_2020_002_035' into trove_2020_002_041 | Nick Mathewson | |
Resolved Conflicts: src/feature/dirparse/parsecommon.c | |||
2020-02-05 | When parsing, reject >1024-bit RSA private keys sooner. | Nick Mathewson | |
Private-key validation is fairly expensive for long keys in openssl, so we need to avoid it sooner. | |||
2020-01-30 | Merge branch 'maint-0.4.1' into maint-0.4.2 | teor | |
2020-01-30 | Merge branch 'maint-0.4.0' into maint-0.4.1 | teor | |
2020-01-30 | Merge branch 'maint-0.3.5' into maint-0.4.0 | teor | |
2020-01-30 | Merge remote-tracking branch 'tor-github/pr/1614' into maint-0.3.5 | teor | |
2020-01-29 | Change BUG() messages in buf_flush_to_tls() to IF_BUG_ONCE() | Nick Mathewson | |
We introduced these BUG() checks in b0ddaac07428a06 to prevent a recurrence of bug 23690. But there's a report of the BUG() message getting triggered and filling up the disk. Let's change it to IF_BUG_ONCE(). Fixes bug 33093; bugfix on 0.3.2.2-alpha. | |||
2020-01-16 | Merge branch 'maint-0.4.0' into maint-0.4.1 | teor | |
2020-01-16 | Merge branch 'maint-0.3.5' into maint-0.4.0 | teor | |
2020-01-16 | Merge remote-tracking branch 'tor-github/pr/1513' into maint-0.3.5 | teor | |
2020-01-06 | Merge remote-tracking branch 'tor-github/pr/1612' into maint-0.4.2 | Nick Mathewson | |
2020-01-06 | Merge branch 'maint-0.4.1' into maint-0.4.2 | Nick Mathewson | |
2020-01-05 | Fix sandbox crash during reload of logging configuration | Peter Gerber | |
Allow calls to dup() which was introduced in commit a22fbab986. From a security perspective, I don't think this should impact the security of the sandbox significantly. As far as I can tell, there is nothing an adversary can do with a duplicated FD that can't be done with the original. | |||
2019-12-17 | Correct how we use libseccomp | Peter Gerber | |
This fixes a startup crash with libseccomp v2.4.0 if Sandbox is set to 1. | |||
2019-12-16 | Fix formatting in tor_assertf() message in struct_check_magic(). | Nick Mathewson | |
Closes 32771; bugfix on 0.4.2.1-alpha. | |||
2019-12-16 | Merge branch 'bug32765_041' into bug32771_042 | Nick Mathewson | |
2019-12-16 | Use CHECK_PRINTF() for printf-like functions in util_bug.h | Nick Mathewson | |
2019-12-05 | Merge branch 'maint-0.4.0' into maint-0.4.1 | teor | |
2019-12-05 | Merge branch 'maint-0.3.5' into maint-0.4.0 | teor | |
2019-12-05 | Merge remote-tracking branch 'tor-github/pr/1424' into maint-0.4.0 | teor | |
2019-12-05 | Merge remote-tracking branch 'tor-github/pr/1277' into maint-0.3.5 | teor | |
2019-11-25 | Merge branch 'maint-0.4.0' into maint-0.4.1 | teor | |
2019-11-25 | Merge branch 'maint-0.3.5' into maint-0.4.0 | teor | |
2019-11-25 | Merge remote-tracking branch 'tor-github/pr/1394' into maint-0.3.5 | teor | |
2019-11-12 | config: Log the option name when skipping an obsolete option | teor | |
This is a basic fix for 0.4.2 only. The fix for 0.4.3 and later is in 32404. Fixes bug 32295; bugfix on 0.4.2.1-alpha. | |||
2019-11-07 | Merge remote-tracking branch 'tor-github/pr/1513' into maint-0.4.2 | teor | |