/*
- * $Id: store_swapmeta.cc,v 1.16 2001/04/14 00:25:19 hno Exp $
+ * $Id: store_swapmeta.cc,v 1.17 2001/10/24 08:52:37 hno Exp $
*
* DEBUG: section 20 Storage Manager Swapfile Metadata
* AUTHOR: Kostas Anagnostakis
return NULL;
while (buflen - j > (sizeof(char) + sizeof(int))) {
type = buf[j++];
- if (type < STORE_META_VOID || type > STORE_META_END) {
+ /* VOID is reserved, but allow some slack for new types.. */
+ if (type <= STORE_META_VOID || type > STORE_META_END + 10) {
debug(20, 0) ("storeSwapMetaUnpack: bad type (%d)!\n", type);
break;
}