Menu
Error 404: Sleep not found.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Clever tricks Memes
Posts tagged with Clever tricks
Wish Underflow
Programming
Debugging
Algorithms
Math
1 year ago
584.3K views
0 shares
The genie just got outsmarted by integer underflow! When asked to make the wish count 0, the genie accidentally triggered the classic 8-bit unsigned integer underflow. Decrementing below 0 wraps around to 255 (2^8 - 1), giving our clever programmer way more wishes than the standard package. It's basically a buffer overflow exploit, but for magical entities. Bet the genie's code wasn't properly sanitizing user input!
Today's picks
Where's The Love
Programming
149.5M views
26 days ago
NordVPN
Sponsored
VPN
Age Already Exists
Programming
112.0K views
2 years ago