9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] exec suicide: sys: bad address in syscall
Date: Sun, 08 May 2022 15:53:09 -0400	[thread overview]
Message-ID: <8D32CBF6D48C875885F8F93DD185B7C8@eigenstate.org> (raw)
In-Reply-To: <CAO+DOcqq4RSa_vyhEHBxjGgmJ-ux_B3ShWMN-cy5YquWnaChtw@mail.gmail.com>

Quoth istvan bak <bdhpfl@gmail.com>:
> 			execl("/bin/rc", "/bin/rc", "-c", "test", 0);

0 is an int, not a pointer. You're leaving half of the
pointer value uninitialized.

use nil.



  reply	other threads:[~2022-05-08 19:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-08 17:38 istvan bak
2022-05-08 19:53 ` ori [this message]
2022-05-08 20:10 ` Amavect
2022-05-08 21:45   ` istvan bak

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=8D32CBF6D48C875885F8F93DD185B7C8@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.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;
as well as URLs for NNTP newsgroup(s).