r13715@catbus: nickm | 2007-07-12 12:11:09 -0400

Partial backport of r10376, just in case it was important.


svn:r10808
This commit is contained in:
Nick Mathewson 2007-07-12 16:17:25 +00:00
parent 25e312e1a3
commit fef206a7d1
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Backport items for 0.1.2:
o r10240,10242: avoid choosing family of exit as guard.
o r10248: handle lack of nul at end of mmaped data.
- r10346: Try even harder not to look at the first byte after an mmap.
- r10376, r10396: Fix segfaults in directory code
o r10376, r10396: Fix segfaults in directory code
- r10478: stop tearing down entire circuits because the user asked for
a nonexistent hidden service port
- r10493: weight guard selection by bandwidth (??)

View File

@ -1853,7 +1853,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers,
log_debug(LD_DIRSERV,"rewritten url as '%s'.", url);
if (!strcmp(url,"/tor/")) { /* server descriptor post */
const char *msg;
const char *msg = NULL;
int r = dirserv_add_descriptor(body, &msg);
tor_assert(msg);
if (r > 0)