summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-18Add a cast so that 32-bit compilation goes without errorstor-0.3.2.1-alphaNick Mathewson
2017-09-18changelog tweaks from asnNick Mathewson
2017-09-18Try to clarify that KIST helps relays.Nick Mathewson
2017-09-18revision pass on the rest of the changelogNick Mathewson
2017-09-18Revise the first two (big) changelog entriesNick Mathewson
2017-09-18Combine some changelog sections.Nick Mathewson
2017-09-18Merge remote-tracking branch 'dgoulet/bug23558_032_01'Nick Mathewson
2017-09-18sched: BUG() on event_add() and log_warn next_runDavid Goulet
It is highly unlikely to happen but if so, we need to know and why. The warning with the next_run values could help. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-18sched: Don't cast to int32_t the monotime_diff_msec() resultDavid Goulet
When the KIST schedule() is called, it computes a diff value between the last scheduler run and the current monotonic time. If tha value is below the run interval, the libevent even is updated else the event is run. It turned out that casting to int32_t the returned int64_t value for the very first scheduler run (which is set to 0) was creating an overflow on the 32 bit value leading to adding the event with a gigantic usec value. The scheduler was simply never running for a while. First of all, a BUG() is added for a diff value < 0 because if the time is really monotonic, we should never have a now time that is lower than the last scheduler run time. And we will try to recover with a diff value to 0. Second, the diff value is changed to int64_t so we avoid this "bootstrap overflow" and future casting overflow problems. Fixes #23558 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-18Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-18Make hs_ntor_ref.py work with python3Nick Mathewson
2017-09-18Start on a changelog for 0.3.2.1-alpha: sortchanges and formatchangelogNick Mathewson
2017-09-18Bump to 0.3.2.1-alphaNick Mathewson
2017-09-18Use the lintChanges script to fix style issues in changes entriesNick Mathewson
2017-09-18remove changes files for items that appeared in 0.3.17Nick Mathewson
2017-09-18forward-port changelogs and release notes for 0.2.8.15, 0.2.9.12, 0.3.0.11, ↵Nick Mathewson
0.3.1.7
2017-09-18Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-18Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-09-18Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-09-18Merge branch 'trove-2017-008_030' into maint-0.3.0Nick Mathewson
2017-09-18Merge branch 'maint-0.2.8' into maint-0.3.0Nick Mathewson
This is an "ours" merge to avoid the conflict from the 0.2.8 version of the fix for TROVE-2017-008.
2017-09-18Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-09-18Merge branch 'trove-2017-008_028' into maint-0.2.8Nick Mathewson
2017-09-18Fix log-uninitialized-stack bug in rend_service_intro_established.Nick Mathewson
Fixes bug 23490; bugfix on 0.2.7.2-alpha. TROVE-2017-008 CVE-2017-0380
2017-09-18Fix log-uninitialized-stack bug in rend_service_intro_established.Nick Mathewson
Fixes bug 23490; bugfix on 0.2.7.2-alpha. TROVE-2017-008 CVE-2017-0380
2017-09-17Fix memory leak in tor-gencert.cNick Mathewson
This was introduced in 4ff170d7b1cbe4074cb852, and is probably unreachable, but coverity complained about it (CID 1417761). Bug not in any released Tor, so no changes file.
2017-09-17add frebsd ports maintainer to releasingtor listNick Mathewson
2017-09-15kist_no_kernel_support is unused when we didn't detect it.Nick Mathewson
So, remove it.
2017-09-15Replace accumulated C ;;s with ;sNick Mathewson
I don't know where these came from.
2017-09-15Merge branch 'scan-build-032'Nick Mathewson
2017-09-15Run our #else/#endif annotator on our source code.Nick Mathewson
2017-09-15Split some long #if lines to make the #endif annotator happyNick Mathewson
2017-09-15update script to use /* */ commentsNick Mathewson
2017-09-15Merge branch 'annotate_ifdefs'Nick Mathewson
2017-09-15Merge branch 'maint-0.3.1'Nick Mathewson
Resolve conflict with 23532 code.
2017-09-15Merge branch 'bug23533_031' into maint-0.3.1Nick Mathewson
2017-09-15kist: Cast, then do operations on int32.Nick Mathewson
Otherwise integer overflows can happen. Remember, doing a i32xi32 multiply doesn't actually produce a 64-bit output. You need to do i64xi32 or i64xi64. Coverity found this as CID 1417753
2017-09-15Merge branch 'bug23487_029'Nick Mathewson
2017-09-15Use different variable names for pw_uid usagesNick Mathewson
Catalyst points out that using pw_uid for two different purposes here is likely to be confusing.
2017-09-15Make netinet/tcp include conditional too: windows lacks it.Nick Mathewson
2017-09-15fix some 32-bit warnings about printf argumentsNick Mathewson
2017-09-15Try to improve formatting on the Schedulers optionNick Mathewson
2017-09-15Merge branch 'remove_allow_dotexit_v2'Nick Mathewson
2017-09-15Remove AllowDotExit.Nick Mathewson
It's been deprecated since 0.2.9.2-alpha. Closes ticket 23426.
2017-09-15wrap a wide commentNick Mathewson
2017-09-15Merge remote-tracking branch 'dgoulet/ticket12541_032_02'Nick Mathewson
2017-09-15doc: Man page entries for KISTDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-15Merge remote-tracking branch 'dgoulet/ticket19254_032_01'Nick Mathewson
2017-09-15sched: add comment about how we determine if a socket should writeMatt Traudt
2017-09-15fixup! sched: add changes file (spaces)Matt Traudt