rspec/rules/S6547/java/rule.adoc

34 lines
557 B
Plaintext
Raw Normal View History

== Why is this an issue?
include::../rationale.adoc[]
include::../impact.adoc[]
// How to fix it section
include::how-to-fix-it/java-se.adoc[]
== Resources
include::../common/resources/standards.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Change this code to prevent users from defining arbitrary environment variables.
=== Highlighting
Highlight `String[] envp` the 2nd positional argument of
`java.lang.Runtime#exec` calls.
'''
'''
endif::env-github,rspecator-view[]