i'll probably regret asking but what's wrong with strcpy and what should you use instead then

Follow

@squirrel from looking around it looks like strcpy doesn't check the length of the destination buffer and so could lead to overflows?

I've heard strlcpy advised but I don't know C so I have no idea if that's a good idea or not

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!