[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200314133632.GB453554@light.dominikbrodowski.net>
Date: Sat, 14 Mar 2020 14:36:32 +0100
From: Dominik Brodowski <linux@...inikbrodowski.net>
To: Takashi Iwai <tiwai@...e.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pcmcia: Use scnprintf() for avoiding potential buffer
overflow
On Wed, Mar 11, 2020 at 10:04:26AM +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().
>
> Signed-off-by: Takashi Iwai <tiwai@...e.de>
Applied to pcmcia-next.
Thanks,
Dominik
Powered by blists - more mailing lists