Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-21 | Disable assertions during coverage builds | Sebastian Hahn | |
This removes roughly 5000 branches in my testing. We never want to trigger assertions even during tests, so this is sane. Implements #15400. | |||
2015-03-21 | Initialize two variables | Sebastian Hahn | |
This is a trivial change to get around two compiler warnings when assertions are removed during coverage builds. | |||
2015-03-18 | Merge remote-tracking branch 'public/feature15053' | Nick Mathewson | |
2015-03-15 | Make log.o depend on micro-revision.i | Nick Mathewson | |
Otherwise micro-revision.i might not get built on time. | |||
2015-03-14 | Log version when LD_BUG is logged. | Nick Mathewson | |
Closes ticket 15026. | |||
2015-03-14 | Do not distribute common_sha1.i and or_sha1.i. | cypherpunks | |
These files get generated automatically so there is need to include them in the distribution. | |||
2015-03-14 | Remove relative paths to header files. | cypherpunks | |
The paths are already in the directory search path of the compiler therefore no need to include them in the source code. | |||
2015-03-14 | Clean up generated files. | cypherpunks | |
Remove src/or/or_sha1.i and src/common/common_sha1.i on `make clean` and remove the temporary micro-revision file when its no longer needed. Additional changes; - show a message when generating the micro-revision file. - add the temporary micro revision file to the list of files to be removed on `make clean` just in case. - fix indentation of the make rule to improve readability. | |||
2015-03-13 | const-ify the new failure vars, and one old one | Nick Mathewson | |
2015-03-12 | don't init threads as side effect of assertion | Sebastian Hahn | |
Fixes part of bug 15211. | |||
2015-03-12 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-03-12 | Use PTHREAD_CREATE_DETACHED macro instead of 1: fix Solaris crash | Nick Mathewson | |
When calling pthread_attr_setdetachstate, we were using 1 as the argument. But the pthreads documentation says that you have to say PTHREAD_CREATE_DETACH, which on Solaris is apparently 0x40. Calling pthread_attr_setdetachstate with 1 crashes on Solaris with FLTBOUNDS. (Because we're so late in the release cycle, I made the code define PTHREAD_CREATE_DETACHED if it doesn't exist, so we aren't likely to break any other platforms.) This bug was introduced when we made threading mandatory in 0.2.6.1-alpha; previously, we had force-disabled threading on Solaris. See #9495 discussion. | |||
2015-03-10 | Fix check-spaces | Nick Mathewson | |
2015-03-10 | Merge commit 'origin/maint-0.2.6^' | Nick Mathewson | |
2015-03-09 | Merge remote-tracking branch 'public/bug15205_025' into maint-0.2.6 | Nick Mathewson | |
2015-03-09 | Don't use checked strl{cat,cpy} on OSX. | Nick Mathewson | |
There is a bug in the overlap-checking in strlcat that can crash Tor servers. Fixes bug 15205; this is an OSX bug, not a Tor bug. | |||
2015-03-04 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-03-04 | Revert "Missing dependencies; fixes 15127." | Nick Mathewson | |
This reverts commit 930ab95e1fb0dfd5af35e7d84ca58ff21b65a605. | |||
2015-03-04 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-03-04 | Merge remote-tracking branch 'public/bug15088_025' into maint-0.2.6 | Nick Mathewson | |
2015-03-04 | Add wait4 to the seccomp2 sandbox allowable syscall list | Nick Mathewson | |
fixes bug 15088. patch from sanic. | |||
2015-03-04 | Merge remote-tracking branch 'origin/maint-0.2.6' | Nick Mathewson | |
2015-03-04 | Merge remote-tracking branch 'public/bug15127_025' into maint-0.2.6 | Nick Mathewson | |
2015-03-04 | Missing dependencies; fixes 15127. | Nick Mathewson | |
2015-03-02 | Fix formatting | Andrea Shepard | |
2015-02-25 | Merge remote-tracking branch 'yawning/bug14922' | Nick Mathewson | |
2015-02-23 | Merge branch 'bug14950_logs_squashed' | Nick Mathewson | |
2015-02-23 | Let AF_UNIX connections through the sandbox | Nick Mathewson | |
Fixes bug 15003; bugfix on 0.2.6.3-alpha. | |||
2015-02-23 | Merge remote-tracking branch 'public/bug14988_025' | Nick Mathewson | |
2015-02-23 | add another unused-var marker in backtrace.c for 14988 | Nick Mathewson | |
2015-02-20 | Merge remote-tracking branch 'public/bug11454_11457' | Nick Mathewson | |
2015-02-19 | Quiet "caching debian-tor for debian-tor" notice | Nick Mathewson | |
2015-02-17 | Remove tor_strclear(), and replace previous calls with memwipe(). | Yawning Angel | |
2015-02-17 | Check thread count for negative; realloc->reallocarray | Nick Mathewson | |
CID 1268069 | |||
2015-02-16 | Fix a few coverity "Use after NULL check" warnings | Nick Mathewson | |
Also remove the unit test mocks that allowed get_options() to be NULL; that's an invariant violation for get_options(). | |||
2015-02-16 | Fix deadcode warning in get_interface_addresses_raw(). | Nick Mathewson | |
CID 1268070 | |||
2015-02-16 | Fix a trivial double-close in address.c. CID 1268071 | Nick Mathewson | |
2015-02-15 | Don't leak a cond var when starting threads in a pool | Sebastian Hahn | |
2015-02-12 | Merge remote-tracking branch 'sebastian/bug14875' | Nick Mathewson | |
2015-02-12 | Avoid undefined behaviour in ifreq_to_smartlist | Sebastian Hahn | |
This could trigger where _SIZEOF_ADDR_IFREQ() might not return a multiple of sizeof(void *). Fixes bug 14875; not in any released version of Tor. | |||
2015-02-12 | Actually get all interface addresses | Sebastian Hahn | |
If we guessed a buffer size too small, we never increased the buffer and tried again Also simplify the interface of ifreq_to_smartlist a little | |||
2015-02-11 | Merge remote-tracking branch 'public/bug14759' | Nick Mathewson | |
2015-02-11 | Fix crash on glibc __libc_message() | Nick Mathewson | |
__libc_message() tries to open /dev/tty with O_RDWR, but the sandbox catches that and calls it a crash. Instead, I'm making the sandbox setenv LIBC_FATAL_STDERR_, so that glibc uses stderr instead. Fix for 14759, bugfix on 0.2.5.1-alpha | |||
2015-02-11 | Remove mempools and buf freelists | Nick Mathewson | |
They have been off-by-default since 0.2.5 and nobody has complained. :) Also remove the buf_shrink() function, which hasn't done anything since we first stopped using contiguous memory to store buffers. Closes ticket 14848. | |||
2015-02-09 | Merge remote-tracking branch 'sysrqb/bug14802_025' | Nick Mathewson | |
2015-02-09 | Return 0 when detecting the amount of memory fails | Matthew Finkel | |
Fixes bug 14802; bugfix on 0.2.5.4-alpha. | |||
2015-02-06 | Avoid logging startup messages twice | Sebastian Hahn | |
2015-02-05 | use ARRAY_LENGTH macro in domain_to_string | Nick Mathewson | |
2015-02-05 | Add a string representation for LD_SCHED, and a extra sanity check. | Yawning Angel | |
This both fixes the problem, and ensures that forgetting to update domain_list in the future will trigger the bug codepath instead of a NULL pointer deref. | |||
2015-02-02 | Add more parenthesis to the definition of ARRAY_LENGTH | Nick Mathewson | |