Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
e30f9d62
Commit
e30f9d62
authored
Apr 02, 2000
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/unix_user.c
View file @
e30f9d62
...
...
@@ -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
++
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment