From 9097bc8cd3a19d98e271dd683986e3fc455da123 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 19 Mar 2012 04:02:49 -0500 Subject: Made an assert more relaxed in item_context() --- src/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cc') diff --git a/src/item.cc b/src/item.cc index 4ddbe913..33c3110c 100644 --- a/src/item.cc +++ b/src/item.cc @@ -543,7 +543,7 @@ string item_context(const item_t& item, const string& desc) if (! (len > 0)) return empty_string; - assert(len < 8192); + assert(len < 1024 * 1024); std::ostringstream out; -- cgit v1.2.3