Make buf_shrink_freelists warn, not crash, when n_to_skip is too high

This mitigates bug 1125, but doesn't fix its root cause (whatever
that is).
This commit is contained in:
Nick Mathewson
2010-08-10 15:58:41 -04:00
parent 0087a37bed
commit 8150e2ad24
2 changed files with 20 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes:
- Instead of giving an assertion failure on an internal mismatch
on estimated freelist size, just log a BUG warning and try later.
Mitigates but does not fix bug 1125.