Do not leave empty, invalid chunks in buffers during buf_pullup

This fixes an assertion failure bug in 15083; bugfix on 0.2.0.10-alpha.

Patch from 'cypherpunks'
This commit is contained in:
Nick Mathewson
2015-03-03 22:20:17 +01:00
parent c3f8f5ab0e
commit 71ee53fe9b
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
o Major bugfixes (relay, stability):
- Fix a bug that could lead to a relay crashing with an assertion
failure if a buffer of exactly the wrong layout was passed
to buf_pullup() at exactly the wrong time. Fixes bug 15083;
bugfix on 0.2.0.10-alpha. Patch from 'cypherpunks'.