From nobody Tue Jan 02 00:41:57 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 4T3vF16z7Jz55ywm; Tue, 2 Jan 2024 00:41:57 +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 4T3vF14Jf2z3PZj; Tue, 2 Jan 2024 00:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704156117; 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=2lD37j0VBEhQ0BmfmU4379YVdyPn3z80/zvglxEvTRA=; b=dc9tEjL52MOL829qF/FsHyrSF+Fi8ZxUeDI/HG5zfj5qC3ZBCv7PWu/CHdcM1ugb3c9PEl 9kpVamY4fdkd3X08oQ6dQxsLkuCNb7nzJxi64JFaiaE4+XAZzFsr0eSIKdoI5sLryPy2hj sV5I71CA3foPOHDiBy8JAfzVXfu840Tfjd8F8R7/VoKTWXtWroEI0Fcp3QDaRPVt75cFOP 3PhXVhbEcOgPTVsaBy7sxwYADz4NJ7FS7y5DnGNVxOG2B0fkLXgIGQ1Yih2jyB+B/Erto7 P0tOwc9yEmib7DJZu+nKoZYUftR19OyuzCAtnzw2toxXh97WhYirukFhS+uUiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704156117; a=rsa-sha256; cv=none; b=xO8YYayEe07GjrodTlgd2qhJPuWpsf2cnZ8xiAkHnnwgLFgo5/tMHbNVszQDSXmTvvVLQ/ antMAZzytm5fVnttx1Sos9auUw7xJV9NfRSmMAnZmh1b0XiNniJfo3ObGYSijinbddilt3 xXSwXIz5Jsi6QgRpWYJwQPG6VBFloGPEJGlIOrJq12UK5z+ZZ1wtuwGLlgbgmJZ4qplY+0 ItQUjrnYXcAmVBncBJPyX0n2FOBxfKzllxr5WFT+mMYrt6Aq6Vo5j0MqInrf93q8WFg70w P81Scr7ox+hFKIkuW0cX8WpZ3t4MqblguTQjyU//F/sQsK9xRL3uNi//qcs7Lw== 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=1704156117; 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=2lD37j0VBEhQ0BmfmU4379YVdyPn3z80/zvglxEvTRA=; b=SY+A46lccdjJMLaqProW56pW/+VuNkQeN2WvJW/5GKerXf4jxnc3pGmE6qMPF6fQpPyjC7 2h3GbrSdN/x0siVS8LCBd6aaejdwSj/Ej+8g93NE+SR7rGcAPprSdBYLmnkvu4c3bnRaRj ifJPe/zFlktFyV3Es8jY3m/BIPXzs+1FLPWH+KbvIg2Wy0ucVR3Xm1zUKRBCBeL8geFMAl xU1Nm5jYo5QJC+KjXRwWzlLqqe0X5haFYAS9VbL5J6fGo7ZwCYn5sdERkmRY2GKBr8VEZs uNRginlTIXiGprPriCnr/E8b5mtkCvEkNrUH64mcZq3ZK7hh8bQVUaPi9Kb4qw== 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 4T3vF1326Rzfr9; Tue, 2 Jan 2024 00:41:57 +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 4020fvet096892; Tue, 2 Jan 2024 00:41:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4020fvoe096889; Tue, 2 Jan 2024 00:41:57 GMT (envelope-from git) Date: Tue, 2 Jan 2024 00:41:57 GMT Message-Id: <202401020041.4020fvoe096889@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: edaece2f7e37 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: edaece2f7e37219854aba5f78a5c68f0aac05f4e Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=edaece2f7e37219854aba5f78a5c68f0aac05f4e commit edaece2f7e37219854aba5f78a5c68f0aac05f4e Author: Konstantin Belousov AuthorDate: 2023-12-24 00:59:19 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-02 00:41:38 +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);