662
you are viewing a single comment's thread
view the rest of the comments
[-] drew_belloc@programming.dev 96 points 10 hours ago

That's easy, just call it Jhon\nDoe

[-] riodoro1@lemmy.world 62 points 10 hours ago

John\0Doe will fuck with all C (and C based derivatives) software that touches it.

[-] pelya@lemmy.world 60 points 9 hours ago

Nah, it will end up simply as "John" in the database. You need "John%sDoe" to crash C software with unsafe printf() calls, and even then it's better to use several "%s"

[-] xmunk@sh.itjust.works 17 points 9 hours ago

C and C derivatives will be fine unless they're fucking up encoding.

[-] AnUnusualRelic@lemmy.world 12 points 8 hours ago

Which rarely, if ever, happens. Especially with US software.

[-] perviouslyiner@lemmy.world 6 points 9 hours ago

With an address in 's-Hertogenbosch to help people who are lazy about escaping.

this post was submitted on 16 Nov 2024
662 points (99.4% liked)

Programmer Humor

19564 readers
1369 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS