Logo
First tweet ever: 'just setting up my twttr'
  • 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 335.0K 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 239.8K 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

Motumen Led Desk Lamp for Home Office, Eye-Care Architect Light with Clamp, Smart Double Head Computer Monitor Table Clip Lamp, Adjustable Flexible Goose-Neck, 25 Lighting Models, Task Lamp, Black

Motumen Led Desk Lamp for Home Office, Eye-Care Architect Light with Clamp, Smart Double Head Computer Monitor Table Clip Lamp, Adjustable Flexible Goose-Neck, 25 Lighting Models, Task Lamp, Black

Affiliate
$22.98
GearScouts.com

GearScouts.com

Sponsored
Power stations
Praying For Todo List Unicorn Status

Praying For Todo List Unicorn Status

Javascript
309.8K views 11 months ago