Commit e30f9d62 authored by Niels Möller's avatar Niels Möller
Browse files

src/unix_user.c (do_exec_shell): Fixed MAX_ENV check.

Rev: src/unix_user.c:1.6
parent 36407f86
......@@ -279,7 +279,7 @@ do_exec_shell(struct user *u, int login,
if (tz)
envp[i++] = format_env_pair_c("TZ", tz);
assert(i < MAX_ENV);
assert(i <= MAX_ENV);
#undef MAX_ENV
for (j = 0; j<env_length; j++)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment