diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-01-13 20:59:48 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-01-13 20:59:48 +0000 |
commit | 32f63996385baae4f02d962bef3a674dddb9bbf6 (patch) | |
tree | 0ecefe53bb636da3df9b00a3877260a01d7e67da /libpam_misc | |
parent | a451694a367d69b1670b92d65922861493d34086 (diff) | |
download | pam-32f63996385baae4f02d962bef3a674dddb9bbf6.tar.gz pam-32f63996385baae4f02d962bef3a674dddb9bbf6.tar.bz2 pam-32f63996385baae4f02d962bef3a674dddb9bbf6.zip |
Relevant BUGIDs:
Purpose of commit: bugfix
Commit summary:
---------------
2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
* libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
error.
* modules/pam_umask/pam_umask.c (search_key): Don't ignore
EOF/error return value from fgets().
* configure.in: Check for getline and getdelim
Diffstat (limited to 'libpam_misc')
-rw-r--r-- | libpam_misc/misc_conv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpam_misc/misc_conv.c b/libpam_misc/misc_conv.c index e5095d91..8db24d74 100644 --- a/libpam_misc/misc_conv.c +++ b/libpam_misc/misc_conv.c @@ -1,6 +1,4 @@ /* - * $Id$ - * * A generic conversation function for text based applications * * Written by Andrew Morgan <morgan@linux.kernel.org> @@ -377,9 +375,11 @@ failed_conversation: free(reply[count].resp); break; case PAM_BINARY_PROMPT: - pam_binary_handler_free(appdata_ptr, - (pamc_bp_t *) &reply[count].resp); + { + void *bt_ptr = reply[count].resp; + pam_binary_handler_free(appdata_ptr, bt_ptr); break; + } case PAM_ERROR_MSG: case PAM_TEXT_INFO: /* should not actually be able to get here... */ |