We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f60d4 commit ab01ddaCopy full SHA for ab01dda
javascript/ql/src/Security/CWE-770/ResourceExhaustion.qhelp
@@ -86,7 +86,11 @@
86
Finally, the following example lets a user choose delay after
87
which a function is executed:
88
89
- <sample src="examples/ResourceExhaustion_timeout.js" />
+ </p>
90
+
91
+ <sample src="examples/ResourceExhaustion_timeout.js" />
92
93
+ <p>
94
95
This is problematic because a large delay essentially makes the
96
application wait indefinitely before executing the function. Repeated
@@ -95,10 +99,11 @@
99
100
Again, a limit on the delay will prevent the attack:
97
101
98
- <sample src="examples/ResourceExhaustion_timeout_fixed.js" />
-
102
</p>
103
104
+ <sample src="examples/ResourceExhaustion_timeout_fixed.js" />
105
106
107
</example>
108
109
<references>
0 commit comments