On Mon, 09 Nov 2026 13:49:37 +0100, Oleksii Kurochko <[email protected]> wrote: > riscv_isa_parse_string() is meant to reject a riscv,isa string which > doesn't start with "rv32" or "rv64" (depending on Xen's bitness), but > the checks are written with && instead of ||, so a string is rejected > only when both characters of a pair are wrong. As a result, e.g. > "xv64i" or "rv62i" is accepted on RV64. Also, for a string as short as > "rv", isa[3] is read past the terminating NUL. > > [...]
Reviewed-by: Baptiste Le Duc <[email protected]> -- Baptiste Le Duc <[email protected]>
