From nobody Tue Dec 26 01:28:53 2023 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 4SzccP6g3mz55GcT; Tue, 26 Dec 2023 01:28:53 +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 4SzccP5V4Xz3gFL; Tue, 26 Dec 2023 01:28:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703554133; 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=DxuQDHdfMjOBZRUlInac+6JlKgcIvWHmsmLS0jKVjwE=; b=HuxHEtglPNe6/XxTZhpCbrEUgA43V0+2cNW9mn8wsfspfI/zUczf/kf3OM4PuJUM9NCBf8 U5ENceVTLWdW2PaBpj0xOBamXUGp0z2LPkSYDFPs9eWQ3UefIXnYN39bmMvvbS4NQgC/8+ 8TtFLkNb3rSIi/wrp/f2H9II9YxRSsbJ3hut2OIzdj79NcR1sSN2aY6G3vaYx7f4tuDR15 f/FjblhAgsW31G+WKnHtYX/tHPOiwl3HTIM2BVZmk/zvBti37ADDfpI9BouKnzQUtJvmlh 6Ah9G8IxO4a7GC8/vC7R9TcMEDk4NBSplotlLXQUYOHw3PSx8J/I9IC230YUNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703554133; a=rsa-sha256; cv=none; b=NtZe8DHp42GBI3cZQEvOeiNXBC1isJPnkeN+50zbqnsQrNFGfkLbN9hMAUZHlIHBMaomm4 1vMm7bOPJJtj8eAbWxf3rJYW/70xAkZTikYUmHL1IJfUJMqIcRBm0NkFPCe0lpednvUI92 s4ZrCRwTaVnDXoyaNowF8TQ0mNz/HnUgRarN/oZqaVpVR2qD7jAbvf4bgN+Mt4d04tpe/5 dfYydVqvmg0bOfaPxEuncDXl5ATzUqiaytxTQAJKn5DgZumfSKuiM6gry8l3r/3z85HCBa tbRLGJ3t2gcPwMBttfEeG3g0IwpKU/R12kGt/puOPio8Sg9YluJTrjlgZuZp0g== 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=1703554133; 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=DxuQDHdfMjOBZRUlInac+6JlKgcIvWHmsmLS0jKVjwE=; b=tHoycVRO2ldn2hywEOV+3SKv26JnavFj2g/kLcErTwPvrV1uq0+GL7FEbnzWknW+0jMtm5 xs74xjUMhQz5YWJikRlWyNjthDzMRHEpLdWybocMypwiOMcFsTVeD7x8BtsddgHsIXOtvb yGDUwGQjbcsFf36TFhHTJqIZvk9EQlsLtKTwJa/UeBZMpM2Hmsd1urbUjm3bvmb1m65IJt sZmzFzaPDurtq+OWCYYEWmW5RlWim/qsHzp1l2xFbi2QPImf4BDORuo6AKAjDfYQ3Q/uYo vRkmAaolFyxWtu9oHjlSDpPtfcUIyrWduMoKoKHWKWDKixx+SQEQ3fIz4HJtPg== 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 4SzccP4PdNzZxc; Tue, 26 Dec 2023 01:28:53 +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 3BQ1Srfa035613; Tue, 26 Dec 2023 01:28:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BQ1SrBj035611; Tue, 26 Dec 2023 01:28:53 GMT (envelope-from git) Date: Tue, 26 Dec 2023 01:28:53 GMT Message-Id: <202312260128.3BQ1SrBj035611@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: cb1d664b0073 - main - iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left() 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cb1d664b0073232173072231cb386f0216ee596b Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=cb1d664b0073232173072231cb386f0216ee596b commit cb1d664b0073232173072231cb386f0216ee596b Author: Konstantin Belousov AuthorDate: 2023-12-24 00:59:19 +0000 Commit: Konstantin Belousov CommitDate: 2023-12-26 01:28:22 +0000 iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left() Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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);