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

This commit is contained in:
teor 2019-10-04 11:26:43 +10:00
commit e5b8bd38ab
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -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();