@ElCanut@jlai.lu to Programmer Humor@programming.dev • 1 month agoAsking the real questionsjlai.luimagemessage-square219fedilinkarrow-up11.15Karrow-down111
arrow-up11.14Karrow-down1imageAsking the real questionsjlai.lu@ElCanut@jlai.lu to Programmer Humor@programming.dev • 1 month agomessage-square219fedilink
minus-square@riodoro1@lemmy.worldlinkfedilink76•1 month agoJohn\0Doe will fuck with all C (and C based derivatives) software that touches it.
minus-squarepelyalinkfedilink71•1 month 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-square@xmunk@sh.itjust.workslinkfedilink20•1 month agoC and C derivatives will be fine unless they’re fucking up encoding.
minus-square@AnUnusualRelic@lemmy.worldlinkfedilink17•1 month agoWhich rarely, if ever, happens. Especially with US software.
minus-square@perviouslyiner@lemmy.worldlinkfedilink9•1 month 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.