diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:54 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:54 +0000 |
| commit | ad58ba13d04b85c141bca2d927fb9de6490bf0c1 (patch) | |
| tree | debd5eb870be0db23e89402a1bdc462ab5f04c6b /rust/qemu-api/src | |
| parent | 0527cfd94c1d648870176b5610aaefb4fc1d7eba (diff) | |
| download | focaccia-qemu-ad58ba13d04b85c141bca2d927fb9de6490bf0c1.tar.gz focaccia-qemu-ad58ba13d04b85c141bca2d927fb9de6490bf0c1.zip | |
target/m68k: Initialize float_status fields in gdb set/get functions
In cf_fpu_gdb_get_reg() and cf_fpu_gdb_set_reg() we use a temporary float_status variable to pass to floatx80_to_float64() and float64_to_floatx80(), but we don't initialize it, meaning that those functions could access uninitialized data. Zero-init the structs. (We don't need to set a NaN-propagation rule here because we don't use these with a 2-argument fpu operation.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241025141254.2141506-11-peter.maydell@linaro.org
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions