tor/src/or
Nick Mathewson 8b5787ec0d When there are no dir_server_ts to choose, don't crash
It's important not to call choose_array_element_by_weight and then
pass its return value unchecked to smartlist_get : it is allowed to
return -1.

Fixes bug 7756; bugfix on 4e3d07a6 (not in any released Tor)
2012-12-18 21:32:53 -05:00
..
addressmap.c Drop the maximum attempts to get a virtual address to 1000. 2012-12-17 14:51:31 -05:00
addressmap.h Build and test most of the machinery needed for IPv6 virtualaddrmaps 2012-12-17 14:51:29 -05:00
buffers.c Move address map into its own file. 2012-11-14 23:16:20 -05:00
buffers.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
channel.c Add comment explaining different channel close functions 2012-11-13 18:50:37 -08:00
channel.h Merge branch 'bsd_queue' of ssh://git-rw.torproject.org/nickm/tor 2012-10-30 14:39:14 -07:00
channeltls.c Fix a memory leak in handling errors on CERTS cells. bug 7422 2012-11-08 23:01:39 -05:00
channeltls.h Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
circuitbuild.c Bug 3443: Don't count ORconn setup in circuit build time. 2012-12-07 10:34:09 -05:00
circuitbuild.h Fix more madness from the split_circuitbuild merge 2012-10-22 14:36:30 -04:00
circuitlist.c Bug 3443: Don't count ORconn setup in circuit build time. 2012-12-07 10:34:09 -05:00
circuitlist.h Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
circuitmux_ewma.c Avoid c99 designated initializers in circuitmux_ewma.c 2012-11-02 13:14:39 -04:00
circuitmux_ewma.h Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
circuitmux.c Fix formatting in various places after 6465/6816 work 2012-10-10 00:48:36 -07:00
circuitmux.h Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
circuitstats.c Bug 3443: Don't count ORconn setup in circuit build time. 2012-12-07 10:34:09 -05:00
circuitstats.h Move the circuit build timeout code into its own file. 2012-10-15 14:50:55 -04:00
circuituse.c Fix infinite loop in circuit_expire_bulding 2012-12-07 14:08:07 -05:00
circuituse.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
command.c Fix a remotely triggerable assertion failure (CVE-2012-2250) 2012-10-23 22:58:38 -04:00
command.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
config_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
config.c Per-listener option to prefer IPv6 automaps when possible. 2012-12-17 14:51:30 -05:00
config.h Add a torrc option to specify the bind address of managed proxies. 2012-11-27 22:18:08 -05:00
confparse.c Split the routerset code out of routerlist.c 2012-09-14 10:20:00 -04:00
confparse.h In comments and logs, say "UTC" not "GMT" 2012-11-23 10:05:16 -05:00
connection_edge.c Per-listener option to prefer IPv6 automaps when possible. 2012-12-17 14:51:30 -05:00
connection_edge.h Add some missing doxygen for ipv6 exit code 2012-11-14 23:16:57 -05:00
connection_or.c Fix some wide lines 2012-12-07 14:14:20 -05:00
connection_or.h Discard extraneous renegotiation attempts in the v3 link protocol 2012-10-17 19:19:58 -04:00
connection.c Per-listener option to prefer IPv6 automaps when possible. 2012-12-17 14:51:30 -05:00
connection.h Check for orconns in connection_mark_for_close and connection_mark_and_flush, and pass the call through channel_close_for_error with a warning to avoid asserts 2012-11-10 02:35:47 -08:00
control.c Build and test most of the machinery needed for IPv6 virtualaddrmaps 2012-12-17 14:51:29 -05:00
control.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
cpuworker.c Add a TOR_SOCKET_T_FORMAT construction for logging sockets. 2012-11-02 14:22:21 -04:00
cpuworker.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
directory.c Rename trusted_dir_server_t to dir_server_t. Automatic renaming. 2012-12-06 11:27:20 -05:00
directory.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
dirserv.c Nuke uses of memcmp outside of unit tests 2012-12-13 17:34:05 -05:00
dirserv.h Merge remote-tracking branch 'public/bug6887' 2012-12-07 11:02:27 -05:00
dirvote.c Rename trusted_dir_server_t to dir_server_t. Automatic renaming. 2012-12-06 11:27:20 -05:00
dirvote.h Authorities put p6 lines into microdescriptors. 2012-11-14 23:16:22 -05:00
dns.c Fix some wide lines 2012-12-07 14:14:20 -05:00
dns.h Make DNS callback pass IPv6 answers to dns_answer_found 2012-11-14 23:16:23 -05:00
dnsserv.c Initial support for AAAA requests on DNSPort. 2012-11-14 23:16:58 -05:00
dnsserv.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
entrynodes.c Bug 3443: Don't count ORconn setup in circuit build time. 2012-12-07 10:34:09 -05:00
entrynodes.h Bug 3443: Don't count ORconn setup in circuit build time. 2012-12-07 10:34:09 -05:00
eventdns_tor.h whitesapce fix 2012-10-15 11:22:53 -04:00
geoip.c Nuke uses of memcmp outside of unit tests 2012-12-13 17:34:05 -05:00
geoip.h Merge remote-tracking branch 'linus/bug5053-bug5055' 2012-11-04 21:44:31 -05:00
hibernate.c In comments and logs, say "UTC" not "GMT" 2012-11-23 10:05:16 -05:00
hibernate.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
include.am Move address map into its own file. 2012-11-14 23:16:20 -05:00
main.c Fix some wide lines 2012-12-07 14:14:20 -05:00
main.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
Makefile.nmake Add initial circuitmux_ewma.{c,h} 2012-10-10 00:44:46 -07:00
microdesc.c Nuke uses of memcmp outside of unit tests 2012-12-13 17:34:05 -05:00
microdesc.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
networkstatus.c Drop FallbackNetworkstatusFile; it never worked. 2012-12-06 11:28:49 -05:00
networkstatus.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
nodelist.c Rename trusted_dir_server_t to dir_server_t. Automatic renaming. 2012-12-06 11:27:20 -05:00
nodelist.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
ntmain.c Be more careful calling wcstombs 2012-06-07 11:09:38 -04:00
ntmain.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
onion.c Merge remote-tracking branch 'origin/maint-0.2.3' 2012-11-08 16:48:04 -05:00
onion.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
or.h Add missing doxygen for DNS and automap code 2012-12-17 14:51:31 -05:00
policies.c fix some typos 2012-12-03 13:33:43 -05:00
policies.h Fix a bug in policy_is_reject_star() that was making IPv4 exits break 2012-11-14 23:16:57 -05:00
reasons.c Use LD_PROTOCOL rather than LD_BUG to warn about bogus reason codes that originated remotely in circuit_end_reason_to_control_string() 2012-10-17 03:24:28 -07:00
reasons.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
relay.c Don't use the cache when changing an IP address because of an exit policy 2012-12-17 14:50:05 -05:00
relay.h Get the client side of receiving an IPv6 address to work 2012-11-14 23:16:23 -05:00
rendclient.c Turn some memset()s introduced in tor 0.2.4 into memwipe()s 2012-11-08 17:00:36 -05:00
rendclient.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
rendcommon.c Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
rendcommon.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
rendmid.c Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
rendmid.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
rendservice.c Turn some memset()s introduced in tor 0.2.4 into memwipe()s 2012-11-08 17:00:36 -05:00
rendservice.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
rephist.c Merge remote-tracking branch 'public/bug1031' 2012-10-15 11:20:48 -04:00
rephist.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
replaycache.c Rename all reserved C identifiers we defined 2012-10-12 12:22:13 -04:00
replaycache.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
router.c New FallbackDir option to add extra directories for bootstraping 2012-12-06 11:28:49 -05:00
router.h Change signature of router_compare_to_my_exit_policy so dns can use it 2012-11-14 23:16:25 -05:00
routerlist.c When there are no dir_server_ts to choose, don't crash 2012-12-18 21:32:53 -05:00
routerlist.h New FallbackDir option to add extra directories for bootstraping 2012-12-06 11:28:49 -05:00
routerparse.c Merge remote-tracking branch 'public/bug6887' 2012-12-07 11:02:27 -05:00
routerparse.h Merge remote-tracking branch 'public/bug6887' 2012-12-07 11:02:27 -05:00
routerset.c Better policy support for IPv6 2012-11-14 23:16:21 -05:00
routerset.h Split the routerset code out of routerlist.c 2012-09-14 10:20:00 -04:00
statefile.c Merge branch 'bug7013_take2_squashed' 2012-11-27 22:18:16 -05:00
statefile.h Split the or_state_t portions of config.c into their own file 2012-09-13 12:20:26 -04:00
status.c Add packaged cell fullness to the heartbeat message. 2012-12-18 15:16:35 -05:00
status.h Convert all include-guard macros to avoid reserved identifiers. 2012-10-12 12:13:10 -04:00
tor_main.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
transports.c Add warning message when a managed proxy dies during configuration. 2012-11-06 17:53:09 -05:00
transports.h Start passing ports to tor_check_port_forwarding(). 2012-09-05 18:08:18 +03:00