diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-11-20 15:55:40 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-11-20 16:07:03 +0000 |
commit | 2a5d231074efd71281a8d722519b69fda0748a7e (patch) | |
tree | adc2d1fd9478a68724929d38f5b9be154cc83678 /modules/pam_access/pam_access.c | |
parent | 988199b01aefffc266804b40ef24ad00ef4610e5 (diff) | |
download | pam-2a5d231074efd71281a8d722519b69fda0748a7e.tar.gz pam-2a5d231074efd71281a8d722519b69fda0748a7e.tar.bz2 pam-2a5d231074efd71281a8d722519b69fda0748a7e.zip |
pam_access: fix debug level logging (ticket #19)
* modules/pam_access/pam_access.c (group_match): Log the group token
passed to the function, not an uninitialized data on the stack.
Diffstat (limited to 'modules/pam_access/pam_access.c')
-rw-r--r-- | modules/pam_access/pam_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_access/pam_access.c b/modules/pam_access/pam_access.c index a9cce510..87626e73 100644 --- a/modules/pam_access/pam_access.c +++ b/modules/pam_access/pam_access.c @@ -573,7 +573,7 @@ group_match (pam_handle_t *pamh, const char *tok, const char* usr, if (debug) pam_syslog (pamh, LOG_DEBUG, - "group_match: grp=%s, user=%s", grptok, usr); + "group_match: grp=%s, user=%s", tok, usr); if (strlen(tok) < 3) return NO; |