Logo
git commit -m 'Fix bug' --no-verify
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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

Underflow Memes

Posts tagged with Underflow

Genie Overflow

Programming Security Debugging Algorithms Testing
1 year ago 421.3K views 0 shares
Genie Overflow
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.

I Wish For Int Max Wishes

Programming Algorithms Debugging
1 year ago 297.4K views 2 shares
I Wish For Int Max Wishes
Classic unsigned 8-bit integer overflow hack! The genie says "3 wishes left" but our clever programmer wishes for "0 wishes left" causing the counter to underflow from 0 to 255. It's the digital equivalent of rolling your car's odometer backward, except you're exploiting the genie's primitive variable type implementation instead of committing odometer fraud. Somewhere, a CS professor is using this as an example of why input validation matters.

Today's picks

Handover

Handover

Programming
172.4M views 4 days ago
Elgato Stream Deck Neo, 8 Customizable Keys, 2 Touch Points

Elgato Stream Deck Neo, 8 Customizable Keys, 2 Touch Points

Affiliate
$78.99
Can Not Believe Tests Passed In One Go

Can Not Believe Tests Passed In One Go

Testing
38.7K views 1 year ago