62b301
From 32ef99e27ca6242cd86e06b7f63ba49562a77335 Mon Sep 17 00:00:00 2001
62b301
From: Yu Watanabe <watanabe.yu+github@gmail.com>
62b301
Date: Tue, 11 Sep 2018 12:56:06 +0900
62b301
Subject: [PATCH] core: fix assert() about number of built environment
62b301
 variables
62b301
62b301
Follow-up for 4b58153dd22172d817055d2a09a0cdf3f4bd9db3 and
62b301
fd63e712b2025d235ce4bfbb512fada10e2690b5.
62b301
62b301
(cherry picked from commit 76a9460d44b03a86691a8481544f4525bb43610a)
62b301
62b301
Related: #2049788
62b301
---
62b301
 src/core/execute.c | 2 +-
62b301
 1 file changed, 1 insertion(+), 1 deletion(-)
62b301
62b301
diff --git a/src/core/execute.c b/src/core/execute.c
62b301
index a104294966..c842b14ce7 100644
62b301
--- a/src/core/execute.c
62b301
+++ b/src/core/execute.c
62b301
@@ -1733,7 +1733,7 @@ static int build_environment(
62b301
         }
62b301
 
62b301
         our_env[n_env++] = NULL;
62b301
-        assert(n_env <= 12);
62b301
+        assert(n_env <= 14);
62b301
 
62b301
         *ret = TAKE_PTR(our_env);
62b301