This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/20326] Segment fault in execvpe.c


https://sourceware.org/bugzilla/show_bug.cgi?id=20326

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to n0va8o.lau from comment #4)
> (In reply to Andreas Schwab from comment #3)
> > Don't do that then.  The arguments must not be null.
> 
> don't you think it's better to add a check in execvp please?

How did you notice this problem?  It is difficult to see what value NULL checks
add in such cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]