commit | 16b932770417b1bc304d87c48aa0bb8a3c1164e1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Nov 08 11:43:44 2017 +0300 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Nov 08 01:42:31 2017 -0800 |
tree | d0eab8160e08ca275483b1b6a4844bbacbeff901 | |
parent | 3fc9fb13a4b2576aeab86c62fd64eb29ab68659c [diff] |
tcmu: Fix some memory corruption "udev->nl_reply_supported" is an int but on 64 bit arches we are writing 8 bytes of data to it so it corrupts four bytes beyond the end of the struct. Fixes: b849b4567549 ("target: Add netlink command reply supported option for each device") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>