mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 15:42:34 +01:00
After a stream reached eof, we fclose it, but then test_util_spawn_background_partial_read() reads from it again, which causes an error and thus another fclose(). Some platforms are fine with this, others (e.g. debian-sid-i386) trigger a double-free() error. The actual code used by Tor (log_from_pipe() and tor_check_port_forwarding()) handle this case correctly. |
||
---|---|---|
.. | ||
Makefile.am | ||
test-child.c | ||
test.c | ||
test.h | ||
test_addr.c | ||
test_containers.c | ||
test_crypto.c | ||
test_data.c | ||
test_dir.c | ||
test_microdesc.c | ||
test_util.c | ||
tinytest.c | ||
tinytest.h | ||
tinytest_demo.c | ||
tinytest_macros.h |