984f77
From 09b6ae4da2d8b60d3619dcd0e6712e1a106efba0 Mon Sep 17 00:00:00 2001
984f77
From: Yu Watanabe <watanabe.yu+github@gmail.com>
984f77
Date: Tue, 11 Sep 2018 13:18:33 +0900
984f77
Subject: [PATCH] core: add one more assert()
984f77
984f77
(cherry picked from commit 7c1cb6f1989074e144b1625607950fce80c951ec)
984f77
984f77
Related: #2049788
984f77
---
984f77
 src/core/execute.c | 1 +
984f77
 1 file changed, 1 insertion(+)
984f77
984f77
diff --git a/src/core/execute.c b/src/core/execute.c
984f77
index c842b14ce7..3ff1a51aa1 100644
984f77
--- a/src/core/execute.c
984f77
+++ b/src/core/execute.c
984f77
@@ -1624,6 +1624,7 @@ static int build_environment(
984f77
 
984f77
         assert(u);
984f77
         assert(c);
984f77
+        assert(p);
984f77
         assert(ret);
984f77
 
984f77
         our_env = new0(char*, 14);