summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2012-05-26 23:07:45 +0000
committerdes <des@FreeBSD.org>2012-05-26 23:07:45 +0000
commitd75b7694bd28b26b8efe31df17b3ffc658887896 (patch)
tree13943bc84ec4c7dd6c5cb206752431543ec86b0f /lib
parent4d990f74cc8d1f6788d9e35ce8ada48cc0b5f41f (diff)
downloadFreeBSD-src-d75b7694bd28b26b8efe31df17b3ffc658887896.zip
FreeBSD-src-d75b7694bd28b26b8efe31df17b3ffc658887896.tar.gz
OpenPAM Micrampelis was re-rolled due to a showstopper bug.
Diffstat (limited to 'lib')
-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 778bec8..8172a6f 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;
}
OpenPOWER on IntegriCloud