]> git.ipfire.org Git - thirdparty/zstd.git/commit
[dibio] Fix assertion triggered by no inputs
authorNick Terrell <terrelln@fb.com>
Fri, 21 Jan 2022 06:41:47 +0000 (22:41 -0800)
committerNick Terrell <terrelln@fb.com>
Thu, 27 Jan 2022 21:56:59 +0000 (13:56 -0800)
commit246982e782849d8646b2d5df6648319935669228
tree89e8a84f761eaa6ad3d21bc2d7adb2dab7925688
parent5d70ec0bc48ee93126cba3126069faa1f9e07cec
[dibio] Fix assertion triggered by no inputs

Passing 0 inputs to `DiB_shuffle()` caused an assertion failure where
it should just return.

A test is added in a later commit, with the initial introduction of the
new testing framework.

Fixes #3007.
programs/dibio.c