diff options
| author | Alex Vesker <valex@mellanox.com> | 2018-05-25 20:25:59 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-22 14:25:52 +0200 |
| commit | 2f3def9a32ce45263c045464ebe3b6f05d0eb9ef (patch) | |
| tree | 04f6e4e40bdf1f7ff9ba0b500c9cc4a6c0f30cde /include/linux/overflow.h | |
| parent | 29dbaecd2fbeda3f8dc76d2484807dec5b139aba (diff) | |
net/mlx5: Fix incorrect raw command length parsing
[ Upstream commit 603b7bcff824740500ddfa001d7a7168b0b38542 ]
The NULL character was not set correctly for the string containing
the command length, this caused failures reading the output of the
command due to a random length. The fix is to initialize the output
length string.
Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
