Date: Tue, 26 Dec 2023 01:28:53 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: cb1d664b0073 - main - iommu_gas: zero fake on-stack map entry used in iommu_gas_remove_clip_left() Message-ID: <202312260128.3BQ1SrBj035611@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=cb1d664b0073232173072231cb386f0216ee596b commit cb1d664b0073232173072231cb386f0216ee596b Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-12-24 00:59:19 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312260128.3BQ1SrBj035611>