OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-243-gef65c2e
Gerrit Code Review
gerrit@openafs.org
Fri, 16 Dec 2011 10:59:22 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit ef65c2e0822c99591afa2ec08d4c38673bf8c6cc
Author: Andrew Deason <adeason@sinenomine.net>
Date: Mon Apr 25 13:58:34 2011 -0500
pam: Fix password torching const-ness
In some code branches, the PAM code "torches" a password by zeroing
it. However, it does this through a const pointer which we otherwise
know is not actually const. Make sure we get better type checking by
doing this through a non-const pointer.
Reviewed-on: http://gerrit.openafs.org/4554
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 5cd4282758317b24d2f63408ab4c62551bbebc03)
Change-Id: I94b22a31884dc9b184ec094e5cca4b6b0098cb15
Reviewed-on: http://gerrit.openafs.org/6295
Tested-by: Derrick Brashear <shadow@dementix.org>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/pam/afs_auth.c | 12 ++++--------
src/pam/afs_password.c | 11 ++++-------
src/pam/afs_setcred.c | 12 ++++--------
3 files changed, 12 insertions(+), 23 deletions(-)
--
OpenAFS Master Repository