Skip to content

Denial of Service bug in Pump placement claculation #47

@Ohrhusten

Description

@Ohrhusten

When selecting input pressure and output pressure close to each other (My testing was with 9 Bar in and 10 Bar out) the calculation fails and the website freezes. This might happen because the algorithm is not able to place two pumps with at least 1 hose in-between and still satisfy the condition.
I don't think this will cause issues in practice since the values you need to select for it are far from any realistic scenario and as the calculation happens in the user-client others can not be blocked with a denial of service using this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions