[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6853 [Tor Directory Authority]: Relay-flag voting code has undefined behaviour
#6853: Relay-flag voting code has undefined behaviour
-------------------------------------+--------------------------------------
Reporter: rransom | Owner: rransom
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor Directory Authority | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------------------+--------------------------------------
Comment(by asn):
A person on IRC says that `uint64_t f = (1<<31)` gives
`0xFFFFFFFF80000000` instead of wished `0x80000000`, for all 32bit integer
architectures.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6853#comment:3>
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