[PATCH 0/3] m68k: Fix a couple of Coverity nits

Peter Maydell posted 3 patches 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240830173452.2086140-1-peter.maydell@linaro.org
Maintainers: Thomas Huth <huth@tuxfamily.org>, Laurent Vivier <laurent@vivier.eu>
hw/m68k/mcf5208.c       | 10 +++++++++-
hw/nubus/nubus-device.c |  7 +++++++
2 files changed, 16 insertions(+), 1 deletion(-)
[PATCH 0/3] m68k: Fix a couple of Coverity nits
Posted by Peter Maydell 1 year, 5 months ago
This patchset fixes a couple of very minor Coverity issues: one
"shift off top of integer", and one "overflow in multiplication". 
Neither will happen in normal use. I would not bother backporting
either fix to stable.

I threw in also a patch adding a comment to mcf5208.c giving the URLs
of the datasheets, since I had to go find them to check the fix in
patch 1.

thanks
-- PMM

Peter Maydell (3):
  hw/m68k/mcf5208: Avoid shifting off end of integer
  hw/m68k/mcf5208: Add URLs for datasheets
  hw/nubus/nubus-device: Range check 'slot' property

 hw/m68k/mcf5208.c       | 10 +++++++++-
 hw/nubus/nubus-device.c |  7 +++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

-- 
2.34.1