Changeset 611 in openpam for trunk/lib


Ignore:
Timestamp:
May 26, 2012, 10:57:11 PM (9 years ago)
Author:
Dag-Erling Smørgrav
Message:

Fix a boneheaded error in the option copying loop that remained undetected
through months of testing only to show up within hours of release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_configure.c

    r601 r611  
    262262                for (i = 0; i < wordc - this->optc; ++i) {
    263263                        FREE(wordv[i]);
     264                }
     265                for (i = 0; i < this->optc; ++i) {
    264266                        wordv[i] = wordv[wordc - this->optc + i];
    265267                        wordv[wordc - this->optc + i] = NULL;
Note: See TracChangeset for help on using the changeset viewer.