Menu
Code is poetry with syntax errors.
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
560.2K 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.4M views
6 days ago
NordVPN
Sponsored
VPN
mmmm bread!!
Programming
92.5K views
4 years ago