On Thu, Mar 19, 2020 at 05:13:00PM +0100, Takashi Iwai wrote:
> Since snprintf() returns the would-be-output size instead of the
> actual output size, the succeeding calls may go beyond the given
> buffer limit.  Fix it by replacing with scnprintf().
> 
> Reviewed-by: Nicolas Saenz Julienne <nsaenzjulie...@suse.de>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> Cc: bcm-kernel-feedback-l...@broadcom.com
> Cc: linux-rpi-ker...@lists.infradead.org
> Cc: de...@driverdev.osuosl.org
> Signed-off-by: Takashi Iwai <ti...@suse.de>
> ---
> 
> Greg, could you apply it if it's OK?

Will do so, thanks!

greg k-h
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to