Initialize other to all-zeroes before using it.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@142 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2002-05-03 14:55:03 +00:00
parent f3d250644a
commit 082364c255
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $P4: //depot/projects/openpam/lib/openpam_configure.c#2 $
* $P4: //depot/projects/openpam/lib/openpam_configure.c#3 $
*/
#include <ctype.h>
@ -257,7 +257,7 @@ int
openpam_configure(pam_handle_t *pamh,
const char *service)
{
pam_chain_t *other[PAM_NUM_CHAINS];
pam_chain_t *other[PAM_NUM_CHAINS] = { 0 };
int i, n, r;
/* try own configuration first */