diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-30 14:24:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-30 14:24:25 -0400 |
commit | c4742b89b23d58958ee0d5ca324dac5948c94bf6 (patch) | |
tree | f403e603d110b8a2f986051d45f240c17eb43e8a /changes | |
parent | 0a588821cb5540e901a3d5b07ac73a20905a2c64 (diff) | |
download | tor-c4742b89b23d58958ee0d5ca324dac5948c94bf6.tar.gz tor-c4742b89b23d58958ee0d5ca324dac5948c94bf6.zip |
Fix a bug in buf_move_all() when the input buffer is empty.
We found this in #40076, after we started using buf_move_all() in
more places. Fixes bug #40076; bugfix on 0.3.3.1-alpha. As far as
I know, the crash only affects master, but I think this warrants a
backport, "just in case".
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug40076 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug40076 b/changes/bug40076 new file mode 100644 index 0000000000..9ef5969ae8 --- /dev/null +++ b/changes/bug40076 @@ -0,0 +1,5 @@ + o Minor bugfixes (correctness, buffers): + - Fix a correctness bug that could cause an assertion failure if we ever + tried using the buf_move_all() function with an empty input. + As far as we know, no released versions of Tor do this. + Fixes bug 40076; bugfix on 0.3.3.1-alpha. |