Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-04 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-05-04 | Merge branch 'bug18686_025' into maint-0.2.8 | Nick Mathewson | |
2016-05-04 | Report success when not terminating an already terminated process. | Nick Mathewson | |
Also, document the actual behavior and return values of tor_terminate_process. Fixes bug18686; bugfix on 0.2.3.9-alpha. | |||
2016-04-25 | Remove redundant declarations of MIN | Nick Mathewson | |
Apparently somewhere along the line we decided that MIN might be missing. But we already defined it (if it was missing) in compat.h, which everybody includes. Closes ticket 18889. | |||
2016-04-20 | Remove trunnel files from libor/libcrypto, since they are in libtrunnel. ↵ | Nick Mathewson | |
Found with modularity tool. | |||
2016-04-19 | Merge branch 'handles_squashed' | Nick Mathewson | |
2016-04-19 | Basic 'handle' implementation and tests. | Nick Mathewson | |
This abstraction covers the case where one part of the program needs to refer to another object that is allowed to disappear. | |||
2016-04-19 | Merge remote-tracking branch 'public/lcov_excl' | Nick Mathewson | |
2016-04-15 | Disambiguate: Avoid defining two static functions called chunk_free_unchecked | Nick Mathewson | |
2016-04-15 | Add branch prediction to util_bug.h, and fix a bug. | Nick Mathewson | |
2016-04-14 | Merge branch 'assert_nonfatal_squashed' | Nick Mathewson | |
2016-04-14 | Add an IF_BUG_ONCE macro, since that's a pretty common pattern too. | Nick Mathewson | |
2016-04-14 | Add a BUG macro for usage in if checks. | Nick Mathewson | |
2016-04-14 | Add new tor_assert_nonfatal*() macros. | Nick Mathewson | |
Unlike tor_assert(), these macros don't abort the process. They're good for checking conditions we want to warn about, but which don't warrant a full crash. This commit also changes the default implementation for tor_fragile_assert() to tor_assert_nonfatal_unreached_once(). Closes ticket 18613. | |||
2016-04-12 | Add LCOV_EXCL* markers to crypto.c and crypto_s2k.c | Nick Mathewson | |
This marks some lines as unreachable by the unit tests, and as therefore excluded from test coverage. (Note: This convention is only for lines that are absolutely unreachable. Don't use it anywhere you wouldn't add a tor_fragile_assert().) | |||
2016-04-12 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-04-12 | Merge remote-tracking branch 'public/bug18716_027' into maint-0.2.8 | Nick Mathewson | |
2016-04-07 | memarea: Don't assume that sizeof(ulong) >= sizeof(void*). | Nick Mathewson | |
Fixes bug 18716; bugfix on 0.2.1.1-alpha where memarea.c was introduced. Found by wbenny. | |||
2016-04-05 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-04-05 | Only define NEW_THREAD_API when not building with LibreSSL. | Nick Mathewson | |
2016-04-05 | Merge remote-tracking branch 'teor/bug18720' | Nick Mathewson | |
2016-04-05 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-04-05 | OpenSSL 1.1.0-pre5-dev and later made BIO opaque. | Yawning Angel | |
Detect newer versions and fix our TLS code to use the new API. | |||
2016-04-05 | OpenSSL 1.1.0-pre4 and later(?) have a new "thread API". | Yawning Angel | |
It appears that setting the various callbacks is no longer required, so don't. | |||
2016-04-05 | Fix a comment typo in compat.h | teor (Tim Wilson-Brown) | |
2016-04-04 | Move tor_assert implementation into its own header/module. | Nick Mathewson | |
2016-03-28 | Rename tor_dup_addr to tor_addr_to_str_dup. | Nick Mathewson | |
Patch from icanhasaccount; closes 18462. | |||
2016-03-26 | Do not treat "DOCDOC" as doxygen. | Nick Mathewson | |
2016-03-26 | add a little documentation to memarea. (I have been testing a tool.) | Nick Mathewson | |
2016-03-26 | Whitespace fixes | Nick Mathewson | |
2016-03-26 | Fix all doxygen warnings (other than missing docs) | Nick Mathewson | |
2016-03-25 | Only check in-boundsness of seconds when time_t is smaller than i64 | Nick Mathewson | |
Otherwise coverity complains that we're checking an whether an int64 is less than INT64_MIN, which of course it isn't. Fixes CID 1357176. Not in any released Tor. | |||
2016-03-24 | Merge branch 'timegm_overflow_squashed' | Nick Mathewson | |
2016-03-24 | Avoid overflow in tor_timegm on 32 bit platforms due to year 2038 | teor (Tim Wilson-Brown) | |
2016-03-22 | Repair build when no sandbox support is enabled. | Nick Mathewson | |
2016-03-22 | Merge remote-tracking branch 'public/bug18253' | Nick Mathewson | |
2016-03-22 | Fix an fd leak in check_private_dir(). | Nick Mathewson | |
The fd would leak when the User wasn't recogniezed by getpwnam(). Since we'd then go on to exit, this wasn't a terribad leak, but it's still not as nice as no leak at all. CID 1355640; bugfix on no released Tor. | |||
2016-03-15 | Fix whitespace. | Nick Mathewson | |
2016-03-15 | Merge remote-tracking branch 'weasel/bug18458' | Nick Mathewson | |
2016-03-14 | Merge branch 'bug15221_027' | Nick Mathewson | |
2016-03-14 | Make unix sockets work with the linux seccomp2 sandbox again | Nick Mathewson | |
I didn't want to grant blanket permissions for chmod() and chown(), so here's what I had to do: * Grant open() on all parent directories of a unix socket * Write code to allow chmod() and chown() on a given file only. * Grant chmod() and chown() on the unix socket. | |||
2016-03-14 | Permit setrlimit, prlimit, prlimit64 calls. | Nick Mathewson | |
We call setrlimit under some circumstances, and it can call prlimit and prlimit64 under the hood. Fixes bug 15221. | |||
2016-03-14 | When using open() to make sure we created a dir, close the fd afterwards | Nick Mathewson | |
Found by coverity. Not in any released Tor. Fixes CID 1355640. Also, don't check for fd correctness with assert(fd). You need to assert (fd >= 0). | |||
2016-03-04 | Correctly duplicate addresses in get_interface_address6_list | teor (Tim Wilson-Brown) | |
2016-03-04 | Avoid freeing an uninitialised pointer in get_interface_addresses_ioctl | teor (Tim Wilson-Brown) | |
2016-03-01 | First RelaxDirModeCheck implementation | Peter Palfrader | |
2016-02-28 | clean/extend some module docs, including fix from #18403 | Nick Mathewson | |
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-27 | It appears I added an empty file by mistake. | Nick Mathewson | |
2016-02-27 | Add a brief file-level description for everything in src/common | Nick Mathewson | |