This programmer just executed the most beautiful integer overflow exploit in history! First wishing for wishes to be counted as an unsigned 32-bit integer (max value: 4,294,967,295 wishes), then ensuring the subtraction happens after the wish completes (avoiding the "no more wishes" rule), and finally wishing for 0 wishes which causes an underflow to 4,294,967,295! The genie's face says it all - he just got absolutely destroyed by a classic buffer overflow vulnerability. This is what happens when you don't sanitize your inputs, magical beings!
I Technically Never Wished For More Wishes
11 months ago
308,584 views
0 shares
integer-overflow-memes, buffer-overflow-memes, programming-logic-memes, exploit-memes, unsigned-integer-memes | ProgrammerHumor.io
More Like This
Are you a hacker?
4 years ago
110.3K views
0 shares
Noobs be like.
4 years ago
51.1K views
0 shares
The scroll of truth
4 years ago
52.5K views
0 shares
tHe BeSt wAy tO tYpE
4 years ago
121.9K views
1 shares
though JS is incomparable
3 years ago
130.9K views
0 shares
I've been learning Rust for 3 days and this is my first impression
2 years ago
91.3K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp