[Bug 1795] An integer variable "num" in mm_answer_pam_query() is not initialized before used

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jul 14 00:33:48 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1795

Tomas Mraz <t8m at centrum.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t8m at centrum.cz

--- Comment #1 from Tomas Mraz <t8m at centrum.cz>  ---
I suppose the buffer_put_cstring that fails is a different one. Most
probably some in the sshpam_thread_conv() function. And that some
module in the PAM stack passes incorrect values to the PAM conversation
function.

in the sshpam_query the only situation where num would be left
uninitialized is when neither of PAM_AUTH_ERR, PAM_ACCT_EXPIRED and
PAM_SUCCESS messages is received and this should not happen due to the
way sshpam_thread() function is written.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list