diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-06-23 19:20:54 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-25 09:46:52 +0200 |
commit | 93da43bca7870b6931dee1ca60534e7dd8878849 (patch) | |
tree | 03bfc78395b570c778b4736b8d7b1b4818bfaaf8 /src | |
parent | e8e6b286fd0e65709fe372773e58b1b7ebcfffcd (diff) |
manager: just warn about an invalid environment entry
Apart from bugs (as in #6152), this can happen if we ever make
our requirements for environment entries more stringent. As with
the rest of deserialization, we should just warn and continue.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/env-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/env-util.c b/src/basic/env-util.c index cb73c9caa..5515fd735 100644 --- a/src/basic/env-util.c +++ b/src/basic/env-util.c @@ -789,7 +789,7 @@ int serialize_environment(FILE *f, char **environment) { } int deserialize_environment(char ***environment, const char *line) { - char *uce = NULL; + char *uce; int r; assert(line); |