mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Enhanced RDoc concerning command injection (#5537)
Clarifies security vulnerabilities for commands. Treats: Kernel.system Kernel.` (backtick) IO.popen IO.read IO.write IO.binread IO.binwrite IO.readlines IO.foreach
This commit is contained in:
parent
542a38f619
commit
e9a2b30744
Notes:
git
2022-02-18 21:46:25 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
4 changed files with 79 additions and 26 deletions
2
object.c
2
object.c
|
@ -4389,7 +4389,7 @@ InitVM_Object(void)
|
|||
*
|
||||
* === Subprocesses
|
||||
*
|
||||
* - #`cmd`:: Returns the standard output of running +cmd+ in a subshell.
|
||||
* - #`command`:: Returns the standard output of running +command+ in a subshell.
|
||||
* - #exec:: Replaces current process with a new process.
|
||||
* - #fork:: Forks the current process into two processes.
|
||||
* - #spawn:: Executes the given command and returns its pid without waiting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue