summaryrefslogtreecommitdiff
path: root/net/strparser
diff options
context:
space:
mode:
authorAlex Vesker <valex@mellanox.com>2018-05-25 20:25:59 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-06-27 01:26:34 +0300
commit603b7bcff824740500ddfa001d7a7168b0b38542 (patch)
tree58cc8e39cf706ae2a12da898837cb2441890f0f5 /net/strparser
parentd14fcb8d877caf1b8d6bd65d444bf62b21f2070c (diff)
downloadlinux-603b7bcff824740500ddfa001d7a7168b0b38542.tar.xz
net/mlx5: Fix incorrect raw command length parsing
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>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions