#19130: Seg fault in round_int64_to_next_multiple_of() --------------------------+--------------------- Reporter: arma | Owner: Type: defect | Status: new Priority: Medium | Milestone: Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: --------------------------+---------------------
Comment (by teor): We'd also need to `tor_assert(number >= INT64_MIN + 1);` But wait, the later statements would still invoke undefined behaviour, so the compiler would be free to reach back in time and remove our asserts! -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19130#comment:4> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs