Changes to address issues brought up by the security review.

This commit is contained in:
Juan Carlos Luciani
2007-02-06 22:52:44 +00:00
parent 51ffdf0702
commit 44ee58ef5f
28 changed files with 386 additions and 344 deletions

View File

@@ -280,7 +280,7 @@ pam_sm_authenticate(pam_handle_t *pamh,
&pPrincipalIf);
if (CASA_SUCCESS(casaStatus))
{
int buffLen;
size_t buffLen;
// Assume success
retStatus = PAM_SUCCESS;
@@ -444,9 +444,9 @@ pam_sm_authenticate(pam_handle_t *pamh,
if (retStatus == PAM_SUCCESS)
{
char *pBuff;
int enumHandle = 0;
int buff2Len;
char *pBuff;
unsigned int enumHandle = 0;
size_t buff2Len;
while (retStatus == PAM_SUCCESS)
{