Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
steam
systemd
Commits
a9bd141b
Commit
a9bd141b
authored
Feb 28, 2011
by
Zbigniew Jędrzejewski-Szmek
Committed by
Lennart Poettering
Feb 28, 2011
Browse files
systemctl: always null-terminate the password
parent
53bdb7c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ask-password-api.c
View file @
a9bd141b
...
...
@@ -179,8 +179,6 @@ int ask_password_tty(
}
}
if
(
ttyfd
>=
0
)
passphrase
[
p
]
=
0
;
if
(
!
(
*
_passphrase
=
strdup
(
passphrase
)))
{
...
...
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