libmlx5: fix various coverity/clang issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | fix size in malloc of qp->sq.wr_datasrc/ | +1 | 1 reply | |
| 2/6 | fix coverity buffer overrun warningsrc/ | +1 | 3 replies | |
| 3/6 | fix buffer overrun copying inline headersrc/ | +1 | 2 replies | |
| 4/6 | fix check of mlx5_store_uidx returnsrc/ | +4 | 1 reply | |
| 5/6 | fix alloc of mlx5_resource tablesrc/ | +1 | 1 reply | |
| 6/6 | fix undefined uuar_index value assignmentsrc/ | +4 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH libmlx5 0/6] libmlx5: fix various coverity/clang issues
Part of Red Hat's release process involves running packages through a scan in coverity, and inspecting anything that pops up. Well, with version 1.2.1, coverity was a bit chatty, so I started investigating, and have attempted to come up with fixes for at least most of what it reported.
Jarod Wilson (6):
fix size in malloc of qp->sq.wr_data
fix coverity buffer overrun warning
fix buffer overrun copying inline header
fix check of mlx5_store_uidx return
fix alloc of mlx5_resource table
fix undefined uuar_index value assignment
CC Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/[email protected]>
src/mlx5.c | 2 +- src/qp.c | 2 +- src/verbs.c | 14 +++++++++----- src/wqe.h | 2 +- 4 files changed, 12 insertions(+), 8 deletions(-)
Signature · 6 lines
1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html