438657bc78
When getting string from userspace by simple_write_to_buffer in ufs_qcom_dbg_testbus_cfg_write() function, null byte may be written out of bounds of configuration buffer if return value is same as size of buffer, causing off-by-one bug. This change passes correct available size of configuration buffer to simple_write_to_buffer function. Change-Id: I99d4223ba7ac191e7a931c1c0c7be8bcda6263a6 CRs-Fixed: 2143495 Signed-off-by: Yasir Malik <ymalik@codeaurora.org> Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
debugfs.c | ||
debugfs.h | ||
qcom-debugfs.c | ||
qcom-debugfs.h | ||
ufs-qcom-ice.c | ||
ufs-qcom-ice.h | ||
ufs-qcom.c | ||
ufs_quirks.c | ||
ufs_quirks.h | ||
ufs_test.c | ||
ufshcd-pci.c | ||
ufshcd-pltfrm.c | ||
ufshcd.c | ||
ufshci.h |