Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Testing for exact values to terminate a loop may result in infinite loops and denial of service.

Related Guidelines

MITRE CWE

CWE-835, Loop with unreachable exit condition ("infinite loop")
CWE-834, Excessive iteration

Bibliography

...