linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Elias Athanasopoulos <eathan@otenet.gr>
To: xlp <xlp@emtel.net.co>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: exploitable function
Date: Wed, 26 Jun 2002 00:43:45 +0300	[thread overview]
Message-ID: <20020626004345.B2816@neutrino.particles.org> (raw)
In-Reply-To: <20020625160221.A489@nietzsche>; from xlp@emtel.net.co on Tue, Jun 25, 2002 at 04:02:21PM -0500

On Tue, Jun 25, 2002 at 04:02:21PM -0500, xlp wrote:
> hi, if this code is setuid root, is exploitable:
> 
> if(argc==2){
> 	        if(!strcmp("-show_release",argv[1]))
>         {
>                 printf("%s\n", VERSION);
>                 exit(1);
>         }
> }

It's not. 

Elias

-- 
http://gnewtellium.sourceforge.net			MP3 is not a crime.	

  reply	other threads:[~2002-06-25 21:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-25 21:02 exploitable function xlp
2002-06-25 21:43 ` Elias Athanasopoulos [this message]
     [not found]   ` <20020625163329.C27404@nietzsche>
2002-06-26 13:41     ` Elias Athanasopoulos
2002-06-26 19:26       ` Glynn Clements
2002-06-26 20:58         ` Elias Athanasopoulos

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=20020626004345.B2816@neutrino.particles.org \
    --to=eathan@otenet.gr \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=xlp@emtel.net.co \
    /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;
as well as URLs for NNTP newsgroup(s).