Cap split_transaction's unbounded while-loop #28

Open
opened 2026-06-06 19:58:14 +00:00 by tonym · 0 comments

Severity: low
Category: bug
Location: app.py:684-698

Problem

while True consumes split_cat_{i} fields with no max; a crafted POST with thousands of fields burns CPU.

Suggested fix

Add a MAX_SPLITS guard.

Filed by automated code review.

**Severity:** low **Category:** bug **Location:** `app.py:684-698` ### Problem `while True` consumes split_cat_{i} fields with no max; a crafted POST with thousands of fields burns CPU. ### Suggested fix Add a `MAX_SPLITS` guard. _Filed by automated code review._
tonym added the
bug
severity:low
labels 2026-06-06 19:58:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bonna61/Moon-Household-Budget#28
No description provided.