Menu
Debugging: Being both the detective and the murderer.
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
546.4K 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
RZJSKJZM Monitor LED Backlights, LED Strip Light Sync with Screen Color/Music, Computer Light Bar Behind Screen, for PC/Mac, LEDs for Desk Gaming, USB Interface,Software Control (27 inch)
Affiliate
$29.98
Something Aiwill Never Replace
Linux
272.0K views
2 years ago
Doing requirements as written by the client
Linux
109.1K views
4 years ago