[lvc-project] [PATCH 5.10 0/1] rpmsg: qcom: glink: replace strncpy() with strscpy_pad()

Andrew Chernyakov acherniakov at astralinux.ru
Fri Oct 7 16:29:30 MSK 2022


With static analisys tools we found that strncpy() is used in rpmsg. This
function is not safe and can lead to buffer overflow. This patchset
replaces strncpy() with strscpy_pad().

Link: https://lore.kernel.org/all/20220519073330.7187-1-krzysztof.kozlowski@linaro.org/

Found by Linux Verification Center (linuxtesting.org) with SVACE.



More information about the lvc-project mailing list