What C's infamous gets() compiles to on Linux: it does what you said, not what you meant

tetsuoai · x · 2026-12-05

A tech meme shows what the notorious C gets() function compiles to on Linux, captioned "It does what you said, not what's in your head." gets() performs no bounds checking, was formally removed in C11, and remains the textbook example of buffer overflow vulnerabilities. A knowing laugh for systems programmers.

Original post →

More from Fun

Fun channel →