ElCanut@jlai.lu to Programmer Humor@programming.dev · 3 months agoAsking the real questionsjlai.luexternal-linkmessage-square44fedilinkarrow-up16
arrow-up16external-linkAsking the real questionsjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 3 months agomessage-square44fedilink
minus-squareriodoro1@lemmy.worldlinkfedilinkarrow-up1·3 months agoJohn\0Doe will fuck with all C (and C based derivatives) software that touches it.
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up1·3 months 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-up1·3 months agoC and C derivatives will be fine unless they’re fucking up encoding.
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up1·3 months agoWhich rarely, if ever, happens. Especially with US software.
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.