From 42a2121a9d19112e6f34b612f81f40a8eaf1cf4e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 18 Jan 2024 13:27:01 -0800 Subject: Expand the size of an arbitrary safety limit --- src/error.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/error.cc b/src/error.cc index 7de8a4e2..2055124c 100644 --- a/src/error.cc +++ b/src/error.cc @@ -92,7 +92,7 @@ string source_context(const path& file, return _(""); assert(len > 0); - assert(len < 65536); + assert(len < 1048576); std::ostringstream out; -- cgit v1.2.3