On Fri, 6 Sep 2002, Andrew V. Samoilov wrote:
There are some places in biultin editor, where systen() is called with
unchecked user input.
For example pipe_mail(), edit_sort_cmd() and edit_block_process_cmd() in
edit/editcmd.c, but user input is not checked. It will be nice to use
mc_doubleopen() there to prevent possible security and data loss issue
there.
Do you refer to mc_doublepopen () ? If this is the case - what possible
problems would it solve ? Btw mc_doublepopen () is a pretty expensive
operation (2 forks) and should be replaced by some other mechanism.