diff options
author | David Goulet <dgoulet@torproject.org> | 2018-11-29 10:02:50 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-01-23 13:11:49 -0500 |
commit | 2d74da3d0efd7a67f9bdb73145c38fe047faf1f8 (patch) | |
tree | 13cc319ad6f29fa3ffc5e5043a179befdfc2dd0c /src/test/test_address.c | |
parent | 6144cf99adae5ffebbc549a4e0f3c6e05e51ad16 (diff) | |
download | tor-2d74da3d0efd7a67f9bdb73145c38fe047faf1f8.tar.gz tor-2d74da3d0efd7a67f9bdb73145c38fe047faf1f8.zip |
test: Fix a warning underflow in rend_cache/clean
Because the test is adding entries to the "rend_cache" directly, the
rend_cache_increment_allocation() was never called which made the
rend_cache_clean() call trigger that underflow warning:
rend_cache/clean: [forking] Nov 29 09:55:04.024 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.0.0-alpha-dev 2240fe63feb9a8cf)
The test is still good and valid.
Fixes #28660
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_address.c')
0 files changed, 0 insertions, 0 deletions