[tor-bugs] #28120 [Core Tor/Tor]: hs_descriptor: CID 1440368: Incorrect expression (SIZEOF_MISMATCH)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 25 12:32:00 UTC 2018


#28120: hs_descriptor: CID 1440368:  Incorrect expression  (SIZEOF_MISMATCH)
-----------------------------+------------------------
 Reporter:  asn              |          Owner:  (none)
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  coverity tor-hs  |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------

Comment (by dgoulet):

 Probably our here is to pass the keystream length to
 `build_descriptor_cookie_keys()`. At first glance, it does seems like that
 function has no business of computing by itself the length but rather it
 would be the caller's job.

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


More information about the tor-bugs mailing list