Skip to content
Commit 99de6509 authored by Saud Farooqui's avatar Saud Farooqui Committed by Mathieu Poirier
Browse files

rpmsg: Strcpy is not safe, use strscpy_pad() instead



Replace strcpy() with strscpy_pad() for copying the rpmsg
device name in rpmsg_register_device_override().

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSaud Farooqui <farooqui_saud@hotmail.com>
Link: https://lore.kernel.org/r/PA4P189MB14210AA95DCA3715AFA7F4A68BB59@PA4P189MB1421.EURP189.PROD.OUTLOOK.COM
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent d7bd416d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment