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(). > > Cc: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx> > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> 5 patches applied to wireless-drivers-next.git, thanks. 5cb5b4759cf6 carl9170: Use scnprintf() for avoiding potential buffer overflow 68b02e0c512b b43: Use scnprintf() for avoiding potential buffer overflow d3f8c708c0d7 b43legacy: Use scnprintf() for avoiding potential buffer overflow f35ba45c39c9 ipw2x00: Use scnprintf() for avoiding potential buffer overflow 1da740e08a2d prism54: Use scnprintf() for avoiding potential buffer overflow -- https://patchwork.kernel.org/patch/11431145/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches