Guard against invalid sequences from external matchfinders (#3465)

This commit is contained in:
Elliot Gorokhovsky authored and GitHub committed 2023-01-31 13:55:48 -05:00
1 parent 4794bbfe00
commit 64052ef57d
5 files changed
+96 -37

No files matched your search

+5 -1
View File
@@ -20,7 +20,11 @@ typedef enum {
EMF_ONE_BIG_SEQ = 1,
EMF_LOTS_OF_SEQS = 2,
EMF_BIG_ERROR = 3,
EMF_SMALL_ERROR = 4
EMF_SMALL_ERROR = 4,
EMF_INVALID_OFFSET = 5,
EMF_INVALID_MATCHLEN = 6,
EMF_INVALID_LITLEN = 7,
EMF_INVALID_LAST_LITS = 8
} EMF_testCase;
size_t zstreamExternalMatchFinder(