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.] [PATCHv2] batctl: Clear screen using ANSI escape codes
Date: Fri, 24 Aug 2012 23:47:10 +0200	[thread overview]
Message-ID: <201208242347.10659.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1345414124-25938-1-git-send-email-sven@narfation.org>

On Monday, August 20, 2012 00:08:44 Sven Eckelmann wrote:
> It is not necessary to call an external binary to clear the screen of a
> default unix terminal emulator. The external call using system("clear")
> may be used by an attacker to get untrusted code called with an higher
> privilege because batctl has to be run as using uid 0.
> 
> Reported-by: Antonio Quartulli <ordex@autistici.org>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> Add comment
> 
>  functions.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied in revision f1fff52.

Thanks,
Marek

      reply	other threads:[~2012-08-24 21:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-19 21:53 [B.A.T.M.A.N.] [PATCH] batctl: Clear screen using ANSI escape codes Sven Eckelmann
2012-08-19 22:08 ` [B.A.T.M.A.N.] [PATCHv2] " Sven Eckelmann
2012-08-24 21:47   ` 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=201208242347.10659.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