From nobody Fri Sep 30 18:41:39 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MfJwg2fdtz4V9qt for ; Fri, 30 Sep 2022 18:41:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MfJwg0sMnz45VJ for ; Fri, 30 Sep 2022 18:41:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MfJwf722XzGfM for ; Fri, 30 Sep 2022 18:41:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28UIfckL023893 for ; Fri, 30 Sep 2022 18:41:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28UIfcGK023892 for bugs@FreeBSD.org; Fri, 30 Sep 2022 18:41:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266719] telnetd crashes if it receives IAC EC at session start Date: Fri, 30 Sep 2022 18:41:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rtm@lcs.mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664563299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/q/Ap/FTsilroOsVTK4oka/3IFWrvOwmaUEplFXl5fI=; b=vDe9Bc65Yu9X3tu7NQossTkRVBPafoadVLvDi1h+dVxETdn9TQmFnvL635vkzyMMS2NGTg fYj+4L4LKjFCBGLG7SEVnUeYj6+TOAWbio4p+coVC2iAh77fV+BtSFzzuS2jb/QuEnb/W4 ahEdSAaiXHz2XDw/8qgLJFXukNv7wvS80P1a30H3hpdz4SJ7VxJ3KdC9PaHmu3yjA35Vg8 Xy8A9Jw8kmdo4vMiDunAcQEOYkBh8d9/ap9Z55hr/dLLuxzlMU/7akQa7Ea9IfblEuIiku wHqcjMGxrC3cGf4j4hmFSMjz+VtBflAWKX19Fioi7Dn32Dm25Vv1j7+q/uRUzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664563299; a=rsa-sha256; cv=none; b=aeRh7CoNJYFVPYX3DtFOxJ5/68LldrqnpFMgbTh3GWI013816hXqoMQAef9ecAT/+9OAl7 1/bOqvVayVFuoznXHgxbyhYSJ+GNlhNuEvrASuyVKVlYFUZgNWyXzi60kmNpX7yXyGh4dq ieNsVpIFhWF0xYPUD9tfLY2CnvOV0I1PCKtKTEFPNiDXSzQTk9JQFOfdz9FT4UzON91Xal 0n0/t5352uvg1bhXRAfiT2MQ39U/8vkWHYadHei7FbUfRA1OVId4/2jBhKz8BIb98N85fK bELtmA5Ise+X+WAGUF0pG4yz/h+BI7AJVY58iKoT4bu1/XOiYvzg+iWj0kBrRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266719 --- Comment #2 from Robert Morris --- Also, if the telnet client sends an authentication name, then a KRB_FORWARD in an AUTHENTICATE sub-option for Kerberos5 but not preceded by a KRB_AUTH, the "ticket" global variable is never initialized, and there's a crash on this line in the server's libtelnet/kerberos5.c in kerberos5_is()'s "case KRB_FORWARD": ret =3D krb5_cc_initialize (context, ccache, ticket->client); --=20 You are receiving this mail because: You are the assignee for the bug.=