From 2171cc23e884bc567d4634724703aed9d2d6ebc5 Mon Sep 17 00:00:00 2001
From: Jason Volk <jason@zemos.net>
Date: Tue, 15 Jan 2019 19:03:03 -0800
Subject: [PATCH] ircd::db: Fix cell::load seek validation.

---
 ircd/db.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ircd/db.cc b/ircd/db.cc
index 843cccc66..27ab46551 100644
--- a/ircd/db.cc
+++ b/ircd/db.cc
@@ -8976,7 +8976,10 @@ ircd::db::cell::load(const string_view &index,
 	}
 
 	database::column &c(this->c);
-	return seek(c, index, opts, this->it);
+	if(!seek(c, index, opts, this->it))
+		return false;
+
+	return valid(index);
 }
 
 ircd::db::cell &