ElCanut@jlai.lu to Programmer Humor@programming.dev · 6 days agoAsking the real questionsjlai.luimagemessage-square216fedilinkarrow-up11.14Karrow-down111
arrow-up11.13Karrow-down1imageAsking the real questionsjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 6 days agomessage-square216fedilink
minus-squareDrew Belloc@programming.devlinkfedilinkarrow-up113·6 days agoThat’s easy, just call it Jhon\nDoe
minus-squareriodoro1@lemmy.worldlinkfedilinkarrow-up77arrow-down1·5 days agoJohn\0Doe will fuck with all C (and C based derivatives) software that touches it.
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up71·5 days 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-up20·5 days agoC and C derivatives will be fine unless they’re fucking up encoding.
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up17·5 days agoWhich rarely, if ever, happens. Especially with US software.
minus-squareperviouslyiner@lemmy.worldlinkfedilinkarrow-up9·5 days 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.