[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240411115805.115673-1-guanrui.huang@linux.alibaba.com>
Date: Thu, 11 Apr 2024 19:58:05 +0800
From: Guanrui Huang <guanrui.huang@...ux.alibaba.com>
To: maz@...nel.org
Cc: guanrui.huang@...ux.alibaba.com,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
shannon.zhao@...ux.alibaba.com,
tglx@...utronix.de,
yuzenghui@...wei.com
Subject: Re: [PATCH v2] irqchip/gic-v3-its: Fix double free on error
if (vm != domain->host_data)
This is just a safety check. It looks unlikely happened.
After all, vm is obtained from the args. If the caller has a bug, can we check here to avoid possible problems that may arise in later code?
Thanks,
Guanrui
Powered by blists - more mailing lists