From 8d6940814a90166e468cee810820e8fc5b74e89d Mon Sep 17 00:00:00 2001 From: Alexander Færøy Date: Thu, 28 Sep 2017 16:46:10 +0200 Subject: Better error handling when trying to compress/decompress into empty buffer. This patch ensures that we return TOR_COMPRESS_BUFFER_FULL in case we have a input bytes left to process, but are out of output buffer or in case we need to finish where the compression implementation might need to write an epilogue. See: https://bugs.torproject.org/23551 --- changes/bug23551 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changes/bug23551 (limited to 'changes') diff --git a/changes/bug23551 b/changes/bug23551 new file mode 100644 index 0000000000..2f918bfa3a --- /dev/null +++ b/changes/bug23551 @@ -0,0 +1,3 @@ + o Minor bugfixes (compression): + - Handle a pathological case when decompressing Zstandard data when the + output buffer size is zero. Fixes bug 23551; bugfix on 0.3.1.1-alpha. -- cgit v1.2.3-54-g00ecf