summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-12-11 13:29:30 +0100
committerantirez <antirez@gmail.com>2018-12-11 13:29:30 +0100
commita31ca8d75375a196bb4a2393db9f9d2307416d8f (patch)
treeafe5cc6477edc0134ed6d0890e8cb0c77212f426 /src/util.h
parentc710d4afdccc0c797745bc3264f3f32a4cdd85da (diff)
downloadredis-a31ca8d75375a196bb4a2393db9f9d2307416d8f.tar.gz
stringmatchlen() fuzz test added.
Verified to be able to trigger at least #5632. Does not report other issues.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index cc154d968..b6c01aa59 100644
--- a/src/util.h
+++ b/src/util.h
@@ -40,6 +40,7 @@
int stringmatchlen(const char *p, int plen, const char *s, int slen, int nocase);
int stringmatch(const char *p, const char *s, int nocase);
+int stringmatchlen_fuzz_test(void);
long long memtoll(const char *p, int *err);
uint32_t digits10(uint64_t v);
uint32_t sdigits10(int64_t v);