ElCanut to Programmer Humor@programming.dev · 5 hours agoAsking the real questionsimagemessage-square41fedilinkarrow-up1372arrow-down13
arrow-up1369arrow-down1imageAsking the real questionsElCanut to Programmer Humor@programming.dev · 5 hours agomessage-square41fedilink
minus-squareDrew Belloc@programming.devlinkfedilinkarrow-up74·5 hours agoThat’s easy, just call it Jhon\nDoe
minus-squareriodoro1@lemmy.worldlinkfedilinkarrow-up50arrow-down1·5 hours agoJohn\0Doe will fuck with all C (and C based derivatives) software that touches it.
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up38·4 hours agoNah, 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”
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up11·4 hours agoC and C derivatives will be fine unless they’re fucking up encoding.
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up7·3 hours agoWhich rarely, if ever, happens. Especially with US software.
minus-squareperviouslyiner@lemmy.worldlinkfedilinkarrow-up5·4 hours agoWith an address in 's-Hertogenbosch to help people who are lazy about escaping.
That’s easy, just call it Jhon\nDoe
John\0Doe will fuck with all C (and C based derivatives) software that touches it.
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.
With an address in 's-Hertogenbosch to help people who are lazy about escaping.