Skip to content

Commit 4ecc78e

Browse files
committed
Kernel#system -> Kernel.system
1 parent 8f65d78 commit 4ecc78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ql/src/queries/security/cwe-078/CommandInjection.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<qhelp>
55
<overview>
66
<p>Code that passes user input directly to
7-
<code>Kernel#system</code>, <code>Kernel#exec</code>, or some other library
7+
<code>Kernel.system</code>, <code>Kernel.exec</code>, or some other library
88
routine that executes a command, allows the user to execute malicious
99
code.</p>
1010

@@ -24,7 +24,7 @@ safe before using it.</p>
2424
<example>
2525

2626
<p>The following example shows code that takes a shell script that can be changed
27-
maliciously by a user, and passes it straight to <code>Kernel#system</code>
27+
maliciously by a user, and passes it straight to <code>Kernel.system</code>
2828
without examining it first.</p>
2929

3030
<sample src="examples/command_injection.rb" />

0 commit comments

Comments
 (0)