Use flex array destination for memcpy() in drivers/infiniband/ulp/srpt/ib_srpt.c #201
Labels
[Linux] -next
Present in linux-next; expected for next Linux release
[PATCH] Accepted
A submitted patch has been accepted upstream
[PATCH] Exists
A patch exists to address the issue
srp_rsp is a pointer to a flexible structure (a structure that contains a trailing flexible-array member). Use the flexible-array member as destination in memcpy(), explicitly.
Reported-by: https://github.com/HBh25Y
The text was updated successfully, but these errors were encountered: