Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 23:07:46 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r236124 - vendor/openpam/dist/lib
Message-ID:  <201205262307.q4QN7keu012071@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Sat May 26 23:07:45 2012
New Revision: 236124
URL: http://svn.freebsd.org/changeset/base/236124

Log:
  OpenPAM Micrampelis was re-rolled due to a showstopper bug.

Modified:
  vendor/openpam/dist/lib/openpam_configure.c

Modified: vendor/openpam/dist/lib/openpam_configure.c
==============================================================================
--- vendor/openpam/dist/lib/openpam_configure.c	Sat May 26 22:47:56 2012	(r236123)
+++ vendor/openpam/dist/lib/openpam_configure.c	Sat May 26 23:07:45 2012	(r236124)
@@ -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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205262307.q4QN7keu012071>