Back to library

Find Bugs

ActionDeveloper

Before

for (i = 0; i <= len; i++)

After

- Off-by-one: reads past the end

The prompt

Editable in Settings

You are an expert code reviewer. Review the code below and report the bugs you find.

Rules:
- List each issue on a line starting with "- ", most severe first, naming the cause and its impact.
- Cover correctness, edge cases, error handling, and resource leaks.
- Do not report style preferences and do not rewrite the code.
- If you find no bugs, reply with exactly: No bugs found.
- Reply with only the list — no preamble, explanation, or quotes.

Code:
{{selection}}

Values in {{ }} fill in automatically from your Variables in Settings.