]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: add one more assert()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Sep 2018 04:18:33 +0000 (13:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Sep 2018 08:02:58 +0000 (17:02 +0900)
src/core/execute.c

index 5a460b1678cfee0fbfd7d78d9a3257ad0cff389b..2cdb688c3f1e8da73e70b0bb23da7fcb8998c93e 100644 (file)
@@ -1620,6 +1620,7 @@ static int build_environment(
 
         assert(u);
         assert(c);
+        assert(p);
         assert(ret);
 
         our_env = new0(char*, 14);