[PATCH libmlx5 0/6] libmlx5: fix various coverity/clang issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>

 src/mlx5.c  |  2 +-
 src/qp.c    |  2 +-
 src/verbs.c | 14 +++++++++-----
 src/wqe.h   |  2 +-
 4 files changed, 12 insertions(+), 8 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux