Takashi Iwai <tiwai@xxxxxxx> 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(). > > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> Patch applied to wireless-drivers-next.git, thanks. ca44e47a2b86 ssb: Use scnprintf() for avoiding potential buffer overflow -- https://patchwork.kernel.org/patch/11431209/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches