summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-03-06 02:03:13 +0300
committerRichard Henderson <richard.henderson@linaro.org>2023-03-28 15:23:10 -0700
commit10310cbd6298def2dafd40069e27df2d25e233c5 (patch)
treecaab505242fa5768298a5b4aaa2e0424c7af8b0a /docs/devel/secure-coding-practices.rst
parent49840a4a098149067789255bca6894645f411036 (diff)
downloadfocaccia-qemu-10310cbd6298def2dafd40069e27df2d25e233c5.tar.gz
focaccia-qemu-10310cbd6298def2dafd40069e27df2d25e233c5.zip
accel/tcg: Pass last not end to page_reset_target_data
Pass the address of the last byte to be changed, rather than
the first address past the last byte.  This avoids overflow
when the last page of the address space is involved.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions