func: static void goodG2B() char * password ; char passwordBuffer [ 100 ] = "" ; password = passwordBuffer; if ( fgets ( password , 100 , stdin ) == NULL )  password [ 0 ] = '\0'; passwordLen = strlen ( password ); if ( passwordLen > 0 )  password [ passwordLen - 1 ] = '\0'; passwordMap [ 0 ] = password; passwordMap [ 1 ] = password; passwordMap [ 2 ] = password; goodG2BSink ( passwordMap ); void goodG2BSink(map<int, char *> passwordMap) char * password = passwordMap [ 2 ] ; if ( LogonUserA ( username , domain , password , LOGON32_LOGON_NETWORK , LOGON32_PROVIDER_DEFAULT , & pHandle ) != 0 )  