diff options
author | Dongjiu Geng <gengdongjiu@huawei.com> | 2020-07-27 16:12:10 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-07-27 16:12:10 +0100 |
commit | 4bf7c0cb09a59314aca261291e3a20a24c7dd3b3 (patch) | |
tree | 6117bfdb425cd85dc699f6623f566d197bd395d2 /hw/nios2 | |
parent | 4215d3413272ad6d1c6c9d0234450b602e46a74c (diff) | |
download | qemu-4bf7c0cb09a59314aca261291e3a20a24c7dd3b3.zip |
ACPI: Assert that we don't run out of the preallocated memory
data_length is a constant value, so we use assert instead of
condition check.
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Message-id: 20200622113146.33421-1-gengdongjiu@huawei.com
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/nios2')
0 files changed, 0 insertions, 0 deletions