Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 8-bit patch for zle_tricky.c



>As far as I understand, the other problem is with setuid programs calling
>other programs with system(), like:
>system("/bin/date");
>to output date. If the IFS contains '/', someone might have a program named
>bin in their path, and then...

There's a simple solution to that.  Set IFS before using system.  IMO,
setuid programs shouldn't be using system(3), but it is possible to do
it safely.

-zefram




Messages sorted by: Reverse Date, Date, Thread, Author