From ab43f156ee91d80e74b83b1d4aaf5d6897a23536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 26 May 2012 23:07:45 +0000 Subject: [PATCH] OpenPAM Micrampelis was re-rolled due to a showstopper bug. --- lib/openpam_configure.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }