mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
02a650786b
We were doing an O(n) strlen in router_get_extrainfo_hash() for every one we tried to parse. Instead, have router_get_extrainfo_hash() take the length of the extrainfo as an argument, so that when it's called from extrainfo_parse_from_string(), it doesn't do a strlen() over the whole pile of extrainfos. |
||
---|---|---|
.. | ||
bug4591 | ||
bug5070 | ||
bug5645 | ||
bug5723 | ||
bug5760 | ||
bug5762 | ||
bug5786_nocrash | ||
bug5786_nodups | ||
bug5786_range | ||
bug5828 |