hw/ppc: SPI model - coverity fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Fixes: Coverity CID 1558827hw/ | +3 | 2 replies | |
| 2/2 | Fixes: Coverity CID 1558831hw/ | +1 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] hw/ppc: SPI model - coverity fixes
Hello,
In this patchset below defects detected during coverity scan for latest spi model changes were fixed.
- CID 1558831: Resource leaks (RESOURCE_LEAK)
Variable "rsp_payload" going out of scope leaks the storage it points to.
- CID 1558827: (OVERRUN)
Overrunning array "s->seq_op" of 8 bytes at byte offset 16 using index "get_seq_index(s) + 1" (which evaluates to 16).
Tested:
passed make check and make check-avocado
Chalapathi V (2):
Fixes: Coverity CID 1558827
Fixes: Coverity CID 1558831
hw/ssi/pnv_spi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1