[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #29527 [Core Tor/Tor]: Division by zero: undefined behaviour in circuitpadding/circuitpadding_sample_distribution test
#29527: Division by zero: undefined behaviour in
circuitpadding/circuitpadding_sample_distribution test
------------------------------+--------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.4.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: regression, tor-ci
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------------------
When running the tor unit tests on macOS with `--enable-expensive-
hardening`, I get the following error:
{{{
circuitpadding/circuitpadding_sample_distribution: [forking]
../src/lib/math/prob_distr.c:1311:17: runtime error: division by zero
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
../src/lib/math/prob_distr.c:1311:17 in
../src/lib/math/prob_distr.c:1219:49: runtime error: division by zero
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
../src/lib/math/prob_distr.c:1219:49 in
OK
}}}
My full configure command-line is:
{{{
configure --disable-asciidoc --with-libevent-dir=/usr/local --with-
openssl-dir=/usr/local/opt/openssl --enable-lzma --enable-zstd --enable-
libscrypt CC=clang --enable-gcc-warnings --enable-expensive-hardening
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29527>
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