[tor-bugs] #31683 [Core Tor/Tor]: md: Bad family line in cached-microdescs.new

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 10 14:17:22 UTC 2019


#31683: md: Bad family line in cached-microdescs.new
-----------------------------------+------------------------------------
 Reporter:  dgoulet                |          Owner:  nickm
     Type:  defect                 |         Status:  assigned
 Priority:  Medium                 |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor           |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:  microdesc, 042-should  |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------------

Comment (by nickm):

 Hm.  There is a signed/unsigned bug in the handling of
 dump_microdescriptor()'s return value.  I wonder if that could account for
 this.  dump_microdescriptor() returns -1 on error, but we store its return
 value in an (unsigned) size_t, and then check whether it is less than
 zero.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31683#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list