Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Salamandar
fprintd
Commits
96444b41
Commit
96444b41
authored
Aug 13, 2019
by
Benjamin Berg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pam: Fix rhost string length check
parent
c0ba475f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pam/pam_fprintd.c
pam/pam_fprintd.c
+1
-1
No files found.
pam/pam_fprintd.c
View file @
96444b41
...
...
@@ -481,7 +481,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc,
* "localhost" if the host is local.
* We want to not run for known remote hosts */
if
(
rhost
!=
NULL
&&
rhost
!=
'\0'
&&
*
rhost
!=
'\0'
&&
strcmp
(
rhost
,
"localhost"
)
!=
0
)
{
return
PAM_AUTHINFO_UNAVAIL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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