|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 2/5] target/ppc: powerpc_excp: Add excp_vectors bounds check |
Date: | Thu, 30 Dec 2021 14:04:52 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 12/29/21 8:57 AM, Fabiano Rosas wrote:
The next patch will start accessing the excp_vectors array earlier in the function, so add a bounds check as first thing here. This converts the empty return on POWERPC_EXCP_NONE to an error. This exception number never reaches this function and if it does it probably means something else went wrong up the line. Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |