Files
linux/drivers/infiniband/core
Jason Gunthorpe 993a0821eb RDMA: Directly cast the sockaddr union to sockaddr
commit 641114d2af upstream.

gcc 9 now does allocation size tracking and thinks that passing the member
of a union and then accessing beyond that member's bounds is an overflow.

Instead of using the union member, use the entire union with a cast to
get to the sockaddr. gcc will now know that the memory extends the full
size of the union.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-03 13:13:44 +02:00
..
2019-01-07 11:43:03 -07:00
2018-12-12 07:40:16 -07:00
2019-02-19 20:52:19 -07:00
2019-02-19 10:13:39 -07:00
2019-02-22 11:53:37 -07:00
2018-12-12 07:40:16 -07:00
2018-12-12 07:40:16 -07:00
2019-02-19 10:13:39 -07:00
2018-12-12 07:40:16 -07:00