41 lines
628 B
Plaintext
41 lines
628 B
Plaintext
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
----
|
|
ip = '192.168.12.42'
|
|
sock = socket.socket()
|
|
sock.bind((ip, 9090))
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
ip = config.get(section, ipAddress)
|
|
sock = socket.socket()
|
|
sock.bind((ip, 9090))
|
|
----
|
|
|
|
include::../exceptions.adoc[]
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|