Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Only define NEW_THREAD_API when not building with LibreSSL. | 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-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 | |
2016-02-27 | Fix an unused-variable warning | Nick Mathewson | |
2016-02-27 | Merge branch 'bug18392' | Nick Mathewson | |
2016-02-25 | Fix check_private_dir() to work on Windows again. | Nick Mathewson | |
On windows, you cannot open() a directory. So for Windows we should just take our previous stat-based approach. Closes bug 18392; bug not in any released Tor. | |||
2016-02-24 | Make the sandbox work again with chutney. | Nick Mathewson | |
Previously, we had a problem due to the check_private_dir() rewrite. Bug not in any released Tor. | |||
2016-02-24 | Remove the freelist from memarea.c | Nick Mathewson | |
This is in accordance with our usual policy against freelists, now that working allocators are everywhere. It should also make memarea.c's coverage higher. I also doubt that this code ever helped performance. | |||
2016-02-23 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2016-02-23 | Make clang asan work with FORTIFIED_SOURCE again. | Nick Mathewson | |
Short version: clang asan hates the glibc strcmp macro in bits/string2.h if you are passing it a constant string argument of length two or less. (I could be off by one here, but that's the basic idea.) Closes issue 14821. | |||
2016-02-23 | Merge branch 'bug18296_squashed' | Nick Mathewson | |
2016-02-23 | Simple fix for integer overflow in smartlist_heapify. | Nick Mathewson | |
2016-02-23 | Merge branch 'bug17795' | Nick Mathewson | |
2016-02-23 | Fix an erroneous renaming | Nick Mathewson | |
Did you know that crypto_digest_all is a substring of crypto_digest_alloc_bytes()? Hence the mysterious emergence of "crypto_common_digestsoc_bytes". Next time I should use the \b assertion in my regexen. Spotted by Mike. | |||
2016-02-23 | Appease make check-spaces | Andrea Shepard | |
2016-02-22 | Define O_NOFOLLOW on platforms that do not have it | cypherpunks | |
Fixes #18339 | |||
2016-02-16 | Merge branch 'bug17852_revised' | Nick Mathewson | |
2016-02-16 | Harden check_private_dir() to remove any potential race. | Jeremy | |
Remove any potential race between stat() and chmod(). Replace stat() with fstat(). Replace chmod() with fchmod() | |||
2016-02-16 | src/common/util.c:expand_filename() - Perhaps use GetFullPathName() as a ↵ | Jeremy | |
form of input validation on the filename argument. | |||
2016-02-11 | Merge branch 'check_log_mutex_uncherrypicked' | Nick Mathewson | |
2016-02-11 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2016-02-11 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-02-11 | Merge branch 'maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2016-02-11 | Merge branch 'maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2016-02-11 | Make ensure_capacity a bit more pedantically correct | Nick Mathewson | |
Issues noted by cypherpunks on #18162 |