tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit e5b8bd38abae3ef03b08499f6b74227f1ccf7d32
parent c8df2c720501fc8a3f96c34fcef0bced4498deb0
Author: teor <teor@torproject.org>
Date:   Fri,  4 Oct 2019 11:26:43 +1000

Merge remote-tracking branch 'tor-github/pr/1392'

Diffstat:
Msrc/test/test_util.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_util.c b/src/test/test_util.c @@ -6197,7 +6197,7 @@ test_util_map_anon_nofork(void *arg) tor_munmap_anonymous(ptr, sz); ptr = tor_mmap_anonymous(sz, ANONMAP_NOINHERIT, &inherit); tt_ptr_op(ptr, OP_NE, 0); - memset(ptr, TEST_VALUE, sz); + memset(ptr, (uint8_t)TEST_VALUE, sz); tt_int_op(0, OP_EQ, pipe(pipefd)); pid_t child = fork();