#Logic Bugs
1 article filed under this tag
PRNG Stream Reuse Explained: When Randomness Repeats Itself
A random-looking validation flow can collapse when two code paths consume the same PRNG stream. Add an empty-iterator check and silently ignored values, and the whole thing starts behaving less like security and more like a vending machine that gives refunds.