r18863@catbus: nickm | 2008-03-16 23:37:39 -0400
{in 0.2.0} Part of fix for bug 617: do not mark-for-close on invalid .in-addr.arpa DNSPort request, since it would be a duplicate mark. svn:r14067
This commit is contained in:
parent
a8d72cdfff
commit
8785759e0d
|
@ -34,6 +34,9 @@ Changes in version 0.2.0.22-rc - 2008-03-??
|
|||
0.2.0.x.
|
||||
- Detect mismatched page sizes when using --enable-openbsd-malloc.
|
||||
Bugfix on 0.2.0.x.
|
||||
- Avoid double-marked-for-close warning when certain kinds of invalid
|
||||
.in-addr.arpa addresses are passed to the DNSPort. Part of a fix
|
||||
for bug 617. Bugfix on 0.2.0.1-alpha.
|
||||
|
||||
|
||||
Changes in version 0.2.0.21-rc - 2008-03-02
|
||||
|
|
|
@ -2012,7 +2012,10 @@ connection_ap_handshake_send_resolve(edge_connection_t *ap_conn)
|
|||
ap_conn->socks_request->address[len-13] = '\0';
|
||||
}
|
||||
if (tor_inet_aton(ap_conn->socks_request->address, &in) == 0) {
|
||||
connection_mark_unattached_ap(ap_conn, END_STREAM_REASON_INTERNAL);
|
||||
/* Do not mark here; every caller of
|
||||
* connection_ap_attach_{chosen_}circuit() [which calls this function
|
||||
* will also mark on a -1 return value. */
|
||||
// connection_mark_unattached_ap(ap_conn, END_STREAM_REASON_INTERNAL);
|
||||
return -1;
|
||||
}
|
||||
if (c) {
|
||||
|
|
Loading…
Reference in New Issue