there ain't no party like a sprintf party
'cause a sprintf party don't stop�5P�ۙ��*��d����@w��Ռ-.`�t �c߁��i��EzC8vދ�t�H��V�n�

there ain't no joke like a masto joke cos a masto joke gets explained to you by no less than 3 people when it gets boosted

@lifning Doesn't sprintf ALWAYS add a null terminator? I seem to remember having to use memcpy to avoid that

@lt_riza_hawkeye i was probably thinking of snprintf or strncat or something, but i had also just stayed up until 3:30am and was half asleep when i posted this :p

@lifning @w I'm pretty sure sprintf always adds a null. Of course it also doesn't check the input strings for you so it's vuln6C6C65480000006F7FFDF0000012FEE4004010BB0032154D

@wolfcoder someone else noticed this too, i think in my half asleep state i probably had strcpy in mind but on some subconscious level wanted it to start with an S you could pronounce, like S-Club.

@wolfcoder @lifning i mean, asprintf is in the stdlib too, i just didn't want to link to an html manpage?

that folder is a complete reimplementation of printf, minus floating point because i didn't have enough time

@lifning That's fine by me. I don't even understand the *explanations* of the jokes, half the time.

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!