diff options
author | Kevin Albertson <kevin.eric.albertson@gmail.com> | 2023-01-01 20:50:02 -0500 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2023-01-02 12:13:54 +0000 |
commit | 8ad7e2f53848e77aa5407a2bc7245031813cea2b (patch) | |
tree | 34c5169d8940c481de43654817226d978fd96ab9 /epan/tvbtest.c | |
parent | a2e18feae7adb5603a42c851d774fad7d1937d21 (diff) |
zstd: add test for uncompressing 0 length
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r-- | epan/tvbtest.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/tvbtest.c b/epan/tvbtest.c index f04ddee577..e7dd74afdc 100644 --- a/epan/tvbtest.c +++ b/epan/tvbtest.c @@ -757,6 +757,12 @@ zstd_tests (void) { "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F"), .expect = NULL }, + { + .desc = "Uncompressing no data", + .data = "\0", + .len = 0, + .expect = "" + }, }; |