aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2012-05-26 23:07:45 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2012-05-26 23:07:45 +0000
commitab43f156ee91d80e74b83b1d4aaf5d6897a23536 (patch)
tree13943bc84ec4c7dd6c5cb206752431543ec86b0f
parent55b76c4090c6a27c9bc8126a6fcfb7572e59041c (diff)
downloadsrc-ab43f156ee91d80e74b83b1d4aaf5d6897a23536.tar.gz
src-ab43f156ee91d80e74b83b1d4aaf5d6897a23536.zip
OpenPAM Micrampelis was re-rolled due to a showstopper bug.vendor/openpam/MICRAMPELIS
Notes
Notes: svn path=/vendor/openpam/dist/; revision=236124 svn path=/vendor/openpam/MICRAMPELIS/; revision=236125; tag=vendor/openpam/MICRAMPELIS
-rw-r--r--lib/openpam_configure.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/openpam_configure.c b/lib/openpam_configure.c
index 778bec899961..8172a6fdf11c 100644
--- a/lib/openpam_configure.c
+++ b/lib/openpam_configure.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: openpam_configure.c 601 2012-04-14 20:37:45Z des $
+ * $Id: openpam_configure.c 612 2012-05-26 23:02:55Z des $
*/
#ifdef HAVE_CONFIG_H
@@ -261,6 +261,8 @@ openpam_parse_chain(pam_handle_t *pamh,
this->optc = wordc - i;
for (i = 0; i < wordc - this->optc; ++i) {
FREE(wordv[i]);
+ }
+ for (i = 0; i < this->optc; ++i) {
wordv[i] = wordv[wordc - this->optc + i];
wordv[wordc - this->optc + i] = NULL;
}