From nobody Thu Nov 17 17:35:30 2022 X-Original-To: dev-commits-src-main@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 4NCnBC08LNz4hqKw; Thu, 17 Nov 2022 17:35:31 +0000 (UTC) (envelope-from git@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 4NCnBB6nFWz40nX; Thu, 17 Nov 2022 17:35:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668706531; 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; bh=o6Ldzx/lcyJ4AyyvHA/pvSMutwKOlTK5T677xn4kbrg=; b=l9yFq6yKES/brS76jbIjRfvc592Fe7VnDXe+HjK+vn1W6w/KwGYGE//+hPdr4Q08DwJ8Rb gtoS698IqcdpA7f53oJW8RLRKU4AxZ1CN1XAMtMMgVDdAiZTtGgDfuo5hHHYiYofNMBYK7 YGwA17JILiT+mru1GyuaIQjpM9yO2h+Jn82HveiJEixiWLO0Oedhx1mNyJr96Xx19tFVAJ npPq3TCsE7OUD/MyOxirFLTSwOw8k1Axy1hr+35Co0NQJqTt0eISOou8oqIuBTcU6wF+Ro RSXwzP5OLfUqt+aeNhWstPfohppYLUyAiflcDxTvhXQBKFvbZc2r9lLpDlM63w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668706531; 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; bh=o6Ldzx/lcyJ4AyyvHA/pvSMutwKOlTK5T677xn4kbrg=; b=FAhJ9Np6jpKZpnr2Tdp9ux36PW7PBlhFo93MS7mCUMKCng0spGa+RD5sOm8BMBNWNowEap 15ZvmR/BRWRU7H2XwMGYLh8Z9VLZfZjN8UAZS0T1+w+SeOigUGinws+a3S0GhtcY/fwm5A dW4vVzH8Wvwc4Rs1vcMK4E1T4UwS6C0RpCRt9NuUjfhKDZYS6Mjc/GF49lEPwP4BcPxbbP V5qbkQGPkJ+qbRBuM0SUTMvKgSBP+b9fyjH2eczIPILhiVe82qPUwo9T58kUhUT6WbcyGn Qt16saWmDLDS047amzynhKbS5BcbwV3GXUODPCeR/ST3DhSC8LF5BFutAT199Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668706531; a=rsa-sha256; cv=none; b=GDWKe3P72mlSsIpqpYRXUFqKjDd2Fm5BajXjoa7slaRAGmWB1Vg3vTTC/xGFIYUuIk3W2e 0LveVG4MOUoVoYBdkQRZwdODwmKaX2WQqxuhChkJxo5EEr2OM2c9b1pS6XEZkzokCyekW3 zBPASfmk+6tmB0nCXgIbXybKZi5Qa/F59HLkeAAidFDKIgk0YA3nYsy8O9nFLYYbCD/CLO ODB2IbnQjZVHy7NBZNvnTsdXP1a2R/sJDycgf6Lj7YwFDGS6eZlD8VzqOyCL+DRjxJ7VDp 09Lx2qrMdRf+kzl7EWm0WnfgRg/sksVkVy74MePm6iAvQFtAROwmdacXFcZnMg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4NCnBB5rRbzqYG; Thu, 17 Nov 2022 17:35:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AHHZUbg011058; Thu, 17 Nov 2022 17:35:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AHHZUIO011057; Thu, 17 Nov 2022 17:35:30 GMT (envelope-from git) Date: Thu, 17 Nov 2022 17:35:30 GMT Message-Id: <202211171735.2AHHZUIO011057@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: f556a05c4926 - main - heimdal: Fix: Too large time skew, client time 1970-01-01T01:00:00 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f556a05c49261af3d373c599d05fa250f3563b59 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=f556a05c49261af3d373c599d05fa250f3563b59 commit f556a05c49261af3d373c599d05fa250f3563b59 Author: Cy Schubert AuthorDate: 2022-11-17 15:43:29 +0000 Commit: Cy Schubert CommitDate: 2022-11-17 17:29:17 +0000 heimdal: Fix: Too large time skew, client time 1970-01-01T01:00:00 Part of ed549cb0c53f zeroed out a data structure in the resulting code-file when a TUTCTime type was freed. This part of the patch applies to Heimdal 7.1+ and not our Heimdal 1.5.2. PR: 267827 Reported by: Peter Much Tested by: Peter Much Fixes: ed549cb0c53f MFC after: TBD with philip@ --- crypto/heimdal/lib/asn1/gen_free.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crypto/heimdal/lib/asn1/gen_free.c b/crypto/heimdal/lib/asn1/gen_free.c index 74449fe6ca82..b9cae7533b17 100644 --- a/crypto/heimdal/lib/asn1/gen_free.c +++ b/crypto/heimdal/lib/asn1/gen_free.c @@ -61,13 +61,6 @@ free_type (const char *name, const Type *t, int preserve) case TNull: case TGeneralizedTime: case TUTCTime: - /* - * This doesn't do much, but it leaves zeros where garbage might - * otherwise have been found. Gets us closer to having the equivalent - * of a memset()-to-zero data structure after calling the free - * functions. - */ - fprintf(codefile, "*%s = 0;\n", name); break; case TBitString: if (ASN1_TAILQ_EMPTY(t->members))