1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-20 21:54:16 +01:00

Fix segmentation fault on 64-bit systems.

Reported by multiple people in Issue #11
<http://code.google.com/p/yubico-pam/issues/detail?id=11>.
This commit is contained in:
Simon Josefsson 2010-09-09 21:40:38 +00:00
parent c6e3b5bf16
commit 2fee6c1fcf
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@ -14,6 +14,10 @@ Reported by qistoph in Issue #20:
Reported by giovannibajo in Issue #27:
<http://code.google.com/p/yubico-pam/issues/detail?id=27>.
** Fix segmentation fault on 64-bit systems.
Reported by multiple people in Issue #11:
<http://code.google.com/p/yubico-pam/issues/detail?id=11>.
* Version 2.3 (released 2010-04-14)
** New keyword "ldap_uri" added.

View File

@ -632,7 +632,7 @@ PAM_EXTERN int
pam_sm_setcred (pam_handle_t * pamh, int flags, int argc, const char **argv)
{
int retval;
int auth_retval;
uintptr_t auth_retval;
struct cfg cfg;
parse_cfg (flags, argc, argv, &cfg);