|
From: | Alex Bennée |
Subject: | Re: [PATCH v2 12/13] hw/intc/arm_gicv3_its: Check indexes before use, not after |
Date: | Tue, 18 Jan 2022 17:32:18 +0000 |
User-agent: | mu4e 1.7.5; emacs 28.0.91 |
Peter Maydell <peter.maydell@linaro.org> writes: > In a few places in the ITS command handling functions, we were > doing the range-check of an event ID or device ID only after using > it as a table index; move the checks to before the uses. > > This misordering wouldn't have very bad effects because the > tables are in guest memory anyway. > > Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |