[Bug 278653] sh: fix sh -c -e cmd as per POSIX

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Apr 2024 07:33:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278653

Benjamin Takacs <nimaje+fbz@bureaucracy.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nimaje+fbz@bureaucracy.de

--- Comment #1 from Benjamin Takacs <nimaje+fbz@bureaucracy.de> ---
this needs to fix system(3) as well as popen(3) too, as currently they call  sh
-c <command>  with this change, that is no longer safe and needs to call  sh -c
-- <command>

See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274650 (should that
bug depend on this one?)

-- 
You are receiving this mail because:
You are the assignee for the bug.