Re: [PATCH] drm: bridge/dw-hdmi-ahb-audio: use strscpy() is more robust and safer

2022-09-20 Thread Neil Armstrong
Hi, On Mon, 19 Sep 2022 03:04:01 +, cgel@gmail.com wrote: > From: Minghao Chi > > The implementation of strscpy() is more robust and safer. > > That's now the recommended way to copy NUL terminated strings. > > > [...] Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-mi

Re: [PATCH] drm: bridge/dw-hdmi-ahb-audio: use strscpy() is more robust and safer

2022-09-20 Thread Neil Armstrong
On 19/09/2022 05:04, cgel@gmail.com wrote: From: Minghao Chi The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Reported-by: Zeal Robot Signed-off-by: Minghao Chi --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audi

Re: [PATCH] drm: bridge/dw-hdmi-ahb-audio: use strscpy() is more robust and safer

2022-09-19 Thread Neil Armstrong
Hi, On 19/09/2022 05:04, cgel@gmail.com wrote: From: Minghao Chi The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Reported-by: Zeal Robot Signed-off-by: Minghao Chi --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-ah

[PATCH] drm: bridge/dw-hdmi-ahb-audio: use strscpy() is more robust and safer

2022-09-18 Thread cgel . zte
From: Minghao Chi The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Reported-by: Zeal Robot Signed-off-by: Minghao Chi --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3