public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] batctl: Guarantee delimiter after snprintf
Date: Tue, 6 Nov 2012 02:55:04 +0800	[thread overview]
Message-ID: <201211060255.05103.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1351677149-6045-1-git-send-email-sven@narfation.org>

On Wednesday, October 31, 2012 17:52:29 Sven Eckelmann wrote:
> snprintf doesn't add a \0 delimiter when the size of the buffer is not big
> enough. The caller has to fix it manually to avoid crashes.
> 
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  bisect_iv.c |   10 ++++++----
>  debugfs.c   |    1 +
>  sys.c       |    8 ++++++++
>  3 files changed, 15 insertions(+), 4 deletions(-)

Applied in revision a5ead71.

Thanks,
Marek

      reply	other threads:[~2012-11-05 18:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31  9:52 [B.A.T.M.A.N.] [PATCH] batctl: Guarantee delimiter after snprintf Sven Eckelmann
2012-11-05 18:55 ` Marek Lindner [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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=201211060255.05103.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox