summaryrefslogtreecommitdiff
path: root/extstore.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2019-04-27 00:56:01 -0700
committerdormando <dormando@rydia.net>2019-04-27 00:56:01 -0700
commitf8dc1ab092df00d96eaba7e5213989cd739fb91d (patch)
tree322190abbbde28b4c265e8003afa483b6e7fe03f /extstore.h
parent8caa4146a5e6a492f2c85cb9467dc6fdc9b8311e (diff)
downloadmemcached-f8dc1ab092df00d96eaba7e5213989cd739fb91d.tar.gz
extstore: fix segfault if page_count is too high.
leaked into a runtime bug :( fixes #482
Diffstat (limited to 'extstore.h')
-rw-r--r--extstore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extstore.h b/extstore.h
index 0a27d0c..bf0b0a1 100644
--- a/extstore.h
+++ b/extstore.h
@@ -94,6 +94,7 @@ enum extstore_res {
EXTSTORE_INIT_NEED_MORE_WBUF,
EXTSTORE_INIT_NEED_MORE_BUCKETS,
EXTSTORE_INIT_PAGE_WBUF_ALIGNMENT,
+ EXTSTORE_INIT_TOO_MANY_PAGES,
EXTSTORE_INIT_OOM,
EXTSTORE_INIT_OPEN_FAIL,
EXTSTORE_INIT_THREAD_FAIL