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

@@ -207,7 +207,7 @@ check_password(
&pPrincipalIf);
if (CASA_SUCCESS(casaStatus))
{
int buffLen = 0;
size_t buffLen = 0;
apr_table_t *e = r->subprocess_env;
// Associate necessary environment variables with the request block
@@ -335,9 +335,9 @@ check_password(
if (retStatus == AUTH_GRANTED)
{
char *pAttribNameBuff, *pAttribValueBuff;
int enumHandle = 0;
int attribNameBuffLen, attribValueBuffLen;
char *pAttribNameBuff, *pAttribValueBuff;
unsigned int enumHandle = 0;
size_t attribNameBuffLen, attribValueBuffLen;
while (retStatus == AUTH_GRANTED)
{