[Bug 983] Required authentication

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Mar 28 23:31:58 EST 2012


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

--- Comment #53 from Petr Lautrbach <plautrba at redhat.com> 2012-03-28 23:31:58 EST ---
(In reply to comment #46)
> Created attachment 2096 [details]
> Updated version of original patch.

-    userauth_finish(authctxt, authenticated, method);
-    xfree(method);
+    userauth_finish(authctxt, authenticated, "keyboard-interactive",
+        kbdintctxt->device?kbdintctxt->device->name:NULL);

kbdintctxt points to authctxt->kbdintctxt, but authctxt->kbdintctxt can
be set to NULL in previous call of auth2_challenge_*() while kbdintctxt
not. And there is probably accidentally removed line with
xfree(method);

-    userauth_finish(authctxt, authenticated, method);
+    userauth_finish(authctxt, authenticated, "keyboard-interactive",
+        authctxt->kbdintctxt != NULL ? kbdintctxt->device->name :
NULL);
     xfree(method);

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


More information about the openssh-bugs mailing list