[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "exec" procedures don't handle the optional parameters unbounded sit
Re: "exec" procedures don't handle the optional parameters unbounded situation?
Fri, 06 Jan 2012 19:02:53 +0100
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
> On Fri, Dec 16, 2011 at 3:19 AM, Ludovic Courtès <address@hidden> wrote:
> Nala Ginrut <address@hidden> skribis:
> > I found "exec" serial procedures didn't check the unbounded optional
> > parameters.
> > (execlp "ls") ==> segment fault
> What you’re seeing here is SIGABRT, not SIGSEGV, preceded by the message:
> A NULL argv was passed through an exec system call.
> That message comes from Gnulib’s ‘set_program_name’ , which is used
> by all GNU Coreutils program, and which aborts when argv is NULL.
I had thought at first that this SIGABRT / SIGSEGV came from Guile
itself, in which case this would be a bug, but as it comes from `ls', I
also think that the current code is the correct code.
For what it's worth :-)
|[Prev in Thread]
||[Next in Thread]|
- Re: "exec" procedures don't handle the optional parameters unbounded situation?,
Andy Wingo <=