LKML Archive on
help / color / mirror / Atom feed
From: Dominik Brodowski <>
To: Takashi Iwai <>
Subject: Re: [PATCH] pcmcia: Use scnprintf() for avoiding potential buffer overflow
Date: Sat, 14 Mar 2020 14:36:32 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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 <>

Applied to pcmcia-next.


      reply	other threads:[~2020-03-15  1:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11  9:04 Takashi Iwai
2020-03-14 13:36 ` Dominik Brodowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [PATCH] pcmcia: Use scnprintf() for avoiding potential buffer overflow' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).