Skip to content

hw/net_rocker_of_dpa: two bugfixes

Peter Maydell qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/net/rocker_of_dpa: Check group ID pointers are not NULLhw/net/rocker/rocker_of_dpa.c+4 -00 replies
2/2hw/net/rocker_of_dpa: Avoid unaligned accesses in _of_dpa_flow_match()hw/net/rocker/rocker_of_dpa.c+6 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] hw/net_rocker_of_dpa: two bugfixes

These patches fix two bugs: a NULL pointer dereference if the guest does something wrong (reported a few years back as issue #1851), and a sanitizer complaint about unaligned accesses that I noticed while reproducing the first bug.

thanks
-- PMM

Peter Maydell (2):
hw/net/rocker_of_dpa: Check group ID pointers are not NULL hw/net/rocker_of_dpa: Avoid unaligned accesses in _of_dpa_flow_match()

 hw/net/rocker/rocker_of_dpa.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
Signature · 1 line
2.43.0