[tor-bugs] #22789 [Core Tor/Tor]: Tor 0.3.1.4-alpha crash on OpenBSD-current
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jul 3 20:21:31 UTC 2017
#22789: Tor 0.3.1.4-alpha crash on OpenBSD-current
-------------------------------------------------+-------------------------
Reporter: fredzupy | Owner:
Type: defect | Status:
| needs_review
Priority: High | Milestone: Tor:
| 0.3.1.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.3.1.4-alpha
Severity: Major | Resolution:
Keywords: tor crash inet_pton c99 openbsd | Actual Points:
024-backport 025-backport 026-backport |
027-backport 028-backport 029-backport |
030-backport |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by catalyst):
My reading of C99 is that `strtol("0xquux", &next, 16)` must return zero
and `next` must point to the `x`. The optionality in paragraph 3 is for
the input data, not the implementation.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22789#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list