From nobody Tue Jan 02 00:42:41 2024 X-Original-To: dev-commits-src-all@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 4T3vFt644rz560MP; Tue, 2 Jan 2024 00:42:42 +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 4T3vFt1bfzz3RkR; Tue, 2 Jan 2024 00:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704156162; 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=AexA4yjvCDdvVd/rAX1B5tSlHgsbTR3vljlA0lH3P+c=; b=auE3St3J4QVIY1CaVRpXYutHO9cA+gYecr/6GbiulKaUiD97Ygp7KBeNy9Q+6Np8mugY7W ja2kvTSnxXZ+XWkhbif4mJGT3G/rarXxpR9yaFitqF9wF0GJmeuldYODxZKOg1uXO7/I4R iq7J5ZU7Et+33rUvUjJJx65DXVgNRGi6Uct4kGJfr6EtwY4aBiVRaoMwF0SugfXOaHfPYo ssq5RNhp5OdNqp10RE4EiLWxAJ5D74UkNLLkvufYx0vGTZoZ5Vztnvi4sZEr/YzRTVJlCI mKOmt1+y3yaD/GQLPjgcUHuinLjLRL2qM8OcJ0C+c5DIRySrJUwWA8L/ut+DLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704156162; a=rsa-sha256; cv=none; b=m+KOe9i2L4tkb/m2DgYOEEtV5WQp+0stqU/L7/NsYTcLXpIopV7moxqmWTLwelgqvZrbyz 559W5Wf2kGKAR63L13WYcKsYmwhAwfqcjTC9dPvaeel3s1siCEpjYl7oi+xXyq8iPAHw4s TJvCyRkwhmkuBDSe5eIHuKtM+q2gdvt8SKk3/0gy4ESto/vPU1QsYfL7Mdzp2lDHiGLn1X ek+pwEd2T/s2NdGEq9QcWXFVnDz13Xd3XGdmfngNR+8fjVYlGGulCW09H1AULVF08vZzIe Ul6zLZGabO3JY536/MF62qAdtCGzrGcZ5wmqV6FaGCvFgnZwnJyjhmA3DI2N1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704156162; 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=AexA4yjvCDdvVd/rAX1B5tSlHgsbTR3vljlA0lH3P+c=; b=R324ABZXbtNepBnspyClP9yx9naR5hoScwxmeNqVzKeCptUK1JLotP1U+ogYlJWmfWXeQL reO2fRDjCXmNtOIMR8c5stkcW8scsVeKt3v6rkjeUTxJ9mftaAavYRjsUgoWyIe2hPYjXz xTmZqEk4BnxIbzuKcT43RslRs0xd6CJJTAMZp1rLGlX0/LeQcy5ovSouHVfMczA/Mu38Ak yu9pjldsqCeyReKcEAv+goPfXzvJgAvn21kAtiU/v+ZpllManP//exBdy8l/yxpKG4fn/U qJfmFhCW0G6l3EpeKKsZUP6XMTpr4MP/0h/wtSrQe828n5hKnp6XnRi+Hpzi+A== 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 4T3vFt0j5Jzfx9; Tue, 2 Jan 2024 00:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4020ggR9004070; Tue, 2 Jan 2024 00:42:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4020gffT004067; Tue, 2 Jan 2024 00:42:41 GMT (envelope-from git) Date: Tue, 2 Jan 2024 00:42:41 GMT Message-Id: <202401020042.4020gffT004067@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 3934342846e6 - stable/13 - iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3934342846e67940045c74a732fd3de124672efb Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3934342846e67940045c74a732fd3de124672efb commit 3934342846e67940045c74a732fd3de124672efb Author: Konstantin Belousov AuthorDate: 2023-12-24 00:59:19 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-02 00:42:13 +0000 iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left() (cherry picked from commit cb1d664b0073232173072231cb386f0216ee596b) --- sys/dev/iommu/iommu_gas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c index 25e13aad2291..e178acf60478 100644 --- a/sys/dev/iommu/iommu_gas.c +++ b/sys/dev/iommu/iommu_gas.c @@ -655,6 +655,7 @@ iommu_gas_remove_clip_left(struct iommu_domain *domain, iommu_gaddr_t start, * asserted that start is below domain end, entry should * exist. Then clip it if needed. */ + bzero(&fentry, sizeof(fentry)); fentry.start = start + 1; fentry.end = start + 1; entry = RB_NFIND(iommu_gas_entries_tree, &domain->rb_root, &fentry);