aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/client.c
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2021-11-03 21:18:00 +0100
committerKalle Valo <kvalo@codeaurora.org>2021-11-26 18:29:38 +0200
commitdeb573f1d7ddd182ef1792c71d62883d0f833f17 (patch)
tree84e33ae98c8456ff5573bba44b45c8de91ea792b /drivers/misc/mei/client.c
parentmwifiex: Add quirk to disable deep sleep with certain hardware revision (diff)
downloadlinux-dev-deb573f1d7ddd182ef1792c71d62883d0f833f17.tar.xz
linux-dev-deb573f1d7ddd182ef1792c71d62883d0f833f17.zip
mwifiex: Ensure the version string from the firmware is 0-terminated
We assume at a few places that priv->version_str is 0-terminated, but right now we trust the firmware that this is the case with the version string we get from it. Let's rather ensure this ourselves and replace the last character with '\0'. Signed-off-by: Jonas Dreßler <verdre@v0yd.nl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211103201800.13531-4-verdre@v0yd.nl
Diffstat (limited to 'drivers/misc/mei/client.c')
0 files changed, 0 insertions, 0 deletions