| Commit message (Expand) | Author | Age |
... | |
| * | | | | Fix more warnings from openbsd_malloc•••Apparently, (void)writev is not enough to suppress the "you are
ignoring the return value!" warnings on Linux. Instead, remove the
whole warning/error logic when compiling openbsd_malloc for Tor: we
can't use it.
| Nick Mathewson | 2012-08-17 |
| * | | | | Fix warnings and 64-bit problems in openbsd-malloc code•••The warning fixes are:
- Only define issetugid if it's missing.
- Explicitly ignore the return value of writev.
- Explicitly cast the retval of readlink() to int.
The 64-bit problems are related to just storing a size_t in an int. Not cool! Use a size_t instead.
Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
| Nick Mathewson | 2012-08-15 |
| | |_|/
| |/| | |
|
* | | | | Remove tor_malloc_roundup().•••This function never actually did us any good, and it added a little
complexity. See the changes file for more info.
| Nick Mathewson | 2012-08-13 |
| |/ /
|/| | |
|
* | | | Merge remote-tracking branch 'origin/maint-0.2.3' | Nick Mathewson | 2012-07-18 |
|\| | |
|
| * | | Tweaks to 6400 changes file and docs as suggested by arma | Nick Mathewson | 2012-07-18 |
| * | | Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END•••The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when
you have a nice short loop body, but using it for long bodies makes
your preprocessor tell the compiler that all the code is on the same
line. That causes grief, since compiler warnings and debugger lines
will all refer to that one line.
So, here's a new style rule: SMARTLIST_FOREACH blocks need to be
short.
| Nick Mathewson | 2012-07-17 |
* | | | Merge remote-tracking branch 'origin/maint-0.2.3' | Nick Mathewson | 2012-07-06 |
|\| | |
|
| * | | Fix port range in parse_port_range(). | George Kadianakis | 2012-07-06 |
* | | | Merge remote-tracking branch 'origin/maint-0.2.3' | Nick Mathewson | 2012-07-05 |
|\| | |
|
| * | | On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rc | Nick Mathewson | 2012-07-05 |
* | | | Fix clang warning on d4285f03df475dc. Not in any released tor. | Nick Mathewson | 2012-06-29 |
* | | | Merge commit '81cd3d7ad641a8dbf' | Nick Mathewson | 2012-06-28 |
|\| | |
|
| * | | add a blurb for 0.2.3.18-rc, other minor cleanups | Roger Dingledine | 2012-06-28 |
* | | | Extend tor_sscanf so it can replace sscanf in rephist.c•••Fixes bug 4195 and Coverity CID 448
| Nick Mathewson | 2012-06-28 |
* | | | Merge remote-tracking branch 'origin/maint-0.2.3' | Nick Mathewson | 2012-06-26 |
|\| | |
|
| * | | Fix a warning when using glibc's strcspn with clang.•••With glibc 2.15 and clang 3.0, I get warnings from where we use the
strcpsn implementation in the header as strcspn(string, "="). This
is apparently because clang sees that part of the strcspn macro
expands to "="[2], and doesn't realize that that part of the macro
is only evaluated when "="[1] != 0.
| Nick Mathewson | 2012-06-26 |
| * | | Fix a compilation warning with clang 3.0•••In b1ad1a1d0266a20bb we introduced an implicit (but safe)
long-to-int shortening that clang didn't like.
Warning not in any released version of Tor.
| Nick Mathewson | 2012-06-26 |
* | | | Merge remote-tracking branch 'public/bug2385' | Nick Mathewson | 2012-06-25 |
|\ \ \
| |/ /
|/| | |
|
| * | | Clear a couple more fields in rend_service_load_auth_keys | Nick Mathewson | 2012-06-18 |
* | | | Don't assert in get_string_from_pipe() on len==0•••We can treat this case as an EAGAIN (probably because of an
unexpected internal NUL) rather than a crash-worthy problem.
Fixes bug 6225, again. Bug not in any released version of Tor.
| Nick Mathewson | 2012-06-23 |
* | | | Resolve crash caused by format_helper_exit_status changes in #5557•••Because the string output was no longer equal in length to
HEX_ERRNO_SIZE, the write() call would add some extra spaces and
maybe a NUL, and the NUL would trigger an assert in
get_string_from_pipe.
Fixes bug 6225; bug not in any released version of Tor.
| Nick Mathewson | 2012-06-23 |
* | | | Style tweaks and add a warning about NUL-termination | Nick Mathewson | 2012-06-22 |
* | | | Refactor unsigned int hex formatting out of format_helper_exit_status() in ut... | Andrea Shepard | 2012-06-22 |
* | | | Make format_helper_exit_status() avoid unnecessary spaces | Andrea Shepard | 2012-06-22 |
|/ / |
|
* | | fix a compiler warning added in one of my XXX023 fixes. | Nick Mathewson | 2012-06-15 |
* | | Whitespace fix | Nick Mathewson | 2012-06-15 |
* | | Move tor_gettimeofday_cached() into compat_libevent | Nick Mathewson | 2012-06-15 |
* | | Refactor GETINFO process/descriptor-limit•••Previously it duplicated some getrlimit code and content from compat.c;
now it doesn't.
| Nick Mathewson | 2012-06-15 |
* | | Triage the XXX023 and XXX022 comments: postpone many. | Nick Mathewson | 2012-06-15 |
* | | Change smartlist_create->smartlist_new in bug4744 branch as merged to master | Nick Mathewson | 2012-06-13 |
* | | Merge branch 'bug4744_squashed' | Nick Mathewson | 2012-06-13 |
|\ \ |
|
| * | | Implement the client side of proposal 198•••This is a feature removal: we no longer fake any ciphersuite other
than the not-really-standard SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA
(0xfeff). This change will let servers rely on our actually
supporting what we claim to support, and thereby let Tor migrate to
better TLS ciphersuites.
As a drawback, Tor instances that use old openssl versions and
openssl builds with ciphers disabled will no longer give the
"firefox" cipher list.
| Nick Mathewson | 2012-06-13 |
| * | | Change our ciphersuite list to match ff8 | Nick Mathewson | 2012-05-15 |
| * | | get_mozilla_ciphers: look at ssl3con.c, not sslenum.c | Nick Mathewson | 2012-03-14 |
| * | | get_mozilla_ciphers: output lowercase hex. | Nick Mathewson | 2012-03-14 |
| * | | Try to make get_mozilla_ciphers output the right macros in the right order | Nick Mathewson | 2012-03-14 |
| * | | Have get_mozilla_ciphers take sourcedirs as arguments | Nick Mathewson | 2012-03-14 |
| * | | Make get_mozilla_ciphers script a little more regexy and readable | Nick Mathewson | 2012-03-14 |
| * | | Script to generate ciphers.inc by Arturo | Nick Mathewson | 2012-03-14 |
* | | | Fix another clang compile warning•••We forgot this when we fixed 5969.
| Sebastian Hahn | 2012-06-13 |
* | | | Merge remote-tracking branch 'public/bug4592' | Nick Mathewson | 2012-06-11 |
|\ \ \ |
|
| * | | | Treat SW_SERVER_HELLO_B as another sign of an SSL handshake•••We've been only treating SW_SERVER_HELLO_A as meaning that an SSL
handshake was happening. But that's not right: if the initial
attempt to write a ServerHello fails, we would get a callback in
state SW_SERVER_HELLO_B instead.
(That's "instead" and not "in addition": any failed attempt to write
the hello will fail and cause the info callback not to get written.)
Fix for bug 4592; bugfix on 0.2.0.13-alpha.
| Nick Mathewson | 2012-05-15 |
* | | | | Merge branch 'bug6097' | Nick Mathewson | 2012-06-11 |
|\ \ \ \ |
|
| * | | | | Fix mingw build with -DUNICODE -D_UNICODE•••This is a very blunt fix, and mostly just turns some func() calls
into FuncA() to make things build again. Fixes bug 6097.
| Nick Mathewson | 2012-06-07 |
| * | | | | Be more careful calling wcstombs•••The function is not guaranteed to NUL-terminate its output. It
*is*, however, guaranteed not to generate more than two bytes per
multibyte character (plus terminating nul), so the general approach
I'm taking is to try to allocate enough space, AND to manually add a
NUL at the end of each buffer just in case I screwed up the "enough
space" thing.
Fixes bug 5909.
| Nick Mathewson | 2012-06-07 |
* | | | | | typo noticed by "_raptor" | Roger Dingledine | 2012-06-07 |
|/ / / / |
|
* | | | | Merge remote-tracking branch 'public/getfilesize_64'•••Conflicts:
src/common/compat.c
The getfilesize change conflicted with the removal of file_handle
from the windows tor_mmap_t.
| Nick Mathewson | 2012-06-05 |
|\ \ \ \ |
|
| * | | | | Use GetFileSize correctly on win32•••(Use its second parameter to find the high 32 bits of the file size;
check its return value for error conditions.)
| Nick Mathewson | 2012-05-24 |
* | | | | | Fix some mingw build warnings•••These include:
- Having a weird in_addr that can't be initialized with {0}
- Needing INVALID_HANDLE_VALUE instead of -1 for file handles.
- Having a weird dependent definition for struct stat.
- pid is signed, not unsigned.
| Nick Mathewson | 2012-06-05 |
* | | | | | Merge remote-tracking branch 'public/bug3894' | Nick Mathewson | 2012-06-05 |
|\ \ \ \ \ |
|