[tor-bugs] #23106 [Core Tor/Tor]: Audit code for swapped ntoh*/hton* calls

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 4 16:09:20 UTC 2017


#23106: Audit code for swapped ntoh*/hton* calls
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Low           |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Minor         |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Description changed by nickm:

Old description:

> I grepped for this, and found one in extended_cell_parse().  (It's a
> ntohs that should be a htons.)
>
> This is not a high-urgency item, since we don't support platforms where
> ntoh* and hton* behave differently.

New description:

 I grepped for this, and found one in
 ~~extended_cell_parse~~extend_cell_format().  (It's a ntohs that should be
 a htons.)

 This is not a high-urgency item, since we don't support platforms where
 ntoh* and hton* behave differently.

--

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


More information about the tor-bugs mailing list