]> git.ipfire.org Git - thirdparty/zstd.git/commit
Reject Irregular Dictionary Files 2910/head
authorW. Felix Handte <w@felixhandte.com>
Mon, 6 Dec 2021 18:47:18 +0000 (13:47 -0500)
committerW. Felix Handte <w@felixhandte.com>
Wed, 8 Dec 2021 21:17:04 +0000 (16:17 -0500)
commit9985e10fdaec1d3d49cb20ee78ee8a746467acb8
tree3a5d517bb656b45b3d3104407e7d76e3d8aab78e
parente7b0ae385e8ed68171b0c8024cf5649d6cfca7ef
Reject Irregular Dictionary Files

I hadn't seen #2890, so I wrote my own version. I like this approach a little
better, since it does an explicit check for a regular file, rather than
passing a magic value.

Addresses #2874.
programs/fileio.c
tests/playTests.sh