[cmucl-ticket] [cmucl] #28: Need to stop command switch processing at --

#28: Need to stop command switch processing at -- -------------------------+-------------------------------------------------- Reporter: frideau | Owner: rtoy Type: enhancement | Status: new Priority: minor | Milestone: Component: Core | Version: 2008-11 Keywords: | -------------------------+-------------------------------------------------- So that it be possible for a wrapper script to call a safe cmucl application with user arguments that are not processed by process-command- strings but by the application code, without opening a backdoor whereby malicious users can use -eval in their arguments, I'd like the code in code/commandline.lisp to stop evaluation of switches when it reaches the standard marker "--". This would notably simplify the cl-launch wrapper's support for cmucl. Currently, it has to first create a setf form from the shell to initialize the lisp's *arguments* from within an -eval form. -- Ticket URL: <http://127.0.0.1:8000/cmucl/ticket/28> cmucl <http://common-lisp.net/project/cmucl> cmucl

#28: Need to stop command switch processing at -- --------------------------+------------------------------------------------- Reporter: frideau | Owner: rtoy Type: enhancement | Status: new Priority: minor | Milestone: Component: Core | Version: 2008-11 Resolution: | Keywords: --------------------------+------------------------------------------------- Comment(by rtoy): Done. All arguments after "--" are not processed any further by CMUCL, and all arguments are placed in {{{EXT:*COMMAND-LINE-APPLICATION- ARGUMENT*}}}. Will be available in the 2009-01 snapshot. -- Ticket URL: <http://127.0.0.1:8000/cmucl/ticket/28#comment:1> cmucl <http://common-lisp.net/project/cmucl> cmucl

#28: Need to stop command switch processing at -- --------------------------+------------------------------------------------- Reporter: frideau | Owner: rtoy Type: enhancement | Status: closed Priority: minor | Milestone: Component: Core | Version: 2008-11 Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by rtoy): * status: new => closed * resolution: => fixed Comment: Implemented in snapshot 2009-01. -- Ticket URL: <http://127.0.0.1:8000/cmucl/ticket/28#comment:2> cmucl <http://common-lisp.net/project/cmucl> cmucl
participants (1)
-
cmucl