Genie Overflow

Genie Overflow
integer-overflow-memes, underflow-memes, programming-bugs-memes, edge-cases-memes, input-validation-memes | ProgrammerHumor.io

Classic integer underflow exploit in the wild! The programmer found a loophole in the genie's API by requesting a negative number of wishes, causing the counter to wrap around to 4,294,967,295 - the maximum value of an unsigned 32-bit integer. This is basically SQL injection but for magical beings. The genie clearly forgot to validate his inputs. Should've used TypeScript instead of MagicScript.

More Like This