forked from osmocom/wireshark
zstd: add test for uncompressing 0 length
This commit is contained in:
parent
a2e18feae7
commit
8ad7e2f538
|
@ -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 = ""
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue