[haiku-commits] Re: Terminal broken

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 17 Aug 2010 17:04:10 +0200

Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> wrote:
> Anyway: from a quick look, the first (and worst) part of the problem
> could be that "argv", in case the passed argv is NULL, isn't NULL
> terminated anymore (line 353, argv = defaultArgs, which isn't NULL
> terminated).
> Since argv is then passed in execve(), that could be the problem.

Sounds like that's it. Terminating the argument array with NULL is 
required by POSIX, btw.

Bye,
   Axel.


Other related posts: