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: ath11k@xxxxxxxxxxxxxxxxxxx > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> 2 patches applied to ath-next branch of ath.git, thanks. bc8f237823bc ath11k: Use scnprintf() for avoiding potential buffer overflow dfb252c7b680 ath5k: Use scnprintf() for avoiding potential buffer overflow -- https://patchwork.kernel.org/patch/11431143/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches