Changeset 142 in openpam for trunk


Ignore:
Timestamp:
May 3, 2002, 2:55:03 PM (17 years ago)
Author:
Dag-Erling Smørgrav
Message:

Initialize other to all-zeroes before using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_configure.c

    r137 r142  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_configure.c#2 $
     34 * $P4: //depot/projects/openpam/lib/openpam_configure.c#3 $
    3535 */
    3636
     
    258258        const char *service)
    259259{
    260         pam_chain_t *other[PAM_NUM_CHAINS];
     260        pam_chain_t *other[PAM_NUM_CHAINS] = { 0 };
    261261        int i, n, r;
    262262
Note: See TracChangeset for help on using the changeset viewer.