mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
OpenPAM Micrampelis was re-rolled due to a showstopper bug.
This commit is contained in:
commit
73c77d2614
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236126
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user