[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5810 [Stem]: Implement verification of server descriptor
#5810: Implement verification of server descriptor
-------------------------+--------------------------------------------------
Reporter: reganeet | Owner: reganeet
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: descriptors | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by eoinof):
Actually I'll add the info on the hang here since the code has not
yet been added to Tor.
In stem/descriptor/__init__.py:121
_parse_metrics_file()
{{{
yield
stem.descriptor.server_descriptor.RelayDescriptor(descriptor_file.read())
}}}
will hang if construction of the RelayDescriptor raises an exception.. as
happens
with the above patch.
This will only occur if the data is invalid.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5810#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs