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

Neil Armstrong neil.armstrong at linaro.org
Tue Sep 20 09:20:56 UTC 2022


Hi,

On Mon, 19 Sep 2022 03:04:01 +0000, cgel.zte at gmail.com wrote:
> From: Minghao Chi <chi.minghao at zte.com.cn>
> 
> 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-misc.git (drm-misc-next)

[1/1] drm: bridge/dw-hdmi-ahb-audio: use strscpy() is more robust and safer
      https://cgit.freedesktop.org/drm/drm-misc/commit/?id=110ae8a21bbe779a133c1672a1463105c9d50590

-- 
Neil


More information about the dri-devel mailing list