this post was submitted on 16 Nov 2024
540 points (99.3% liked)
Programmer Humor
19570 readers
1202 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's easy, just call it Jhon\nDoe
John\0Doe will fuck with all C (and C based derivatives) software that touches it.
With an address in 's-Hertogenbosch to help people who are lazy about escaping.
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"
C and C derivatives will be fine unless they're fucking up encoding.
Which rarely, if ever, happens. Especially with US software.