News for hackers. Stuff that matters.
Re:strcpy: A niche function you don't need by pjmlp on Saturday July 31, 2021 @03:06AM (#28016039)
I would rather use C++, however if I really must write C, then a string handling library like the SDS from Redis project is a must.

https://github.com/antirez/sds

Naturally turning on all security features of the C compiler being used, warnings, warnings as errors, static analysers, FORTIFY like libraries, the whole package.

And like almost everyone else, I end up having my occasional segfault regardless of the amount of precautions taken, because I am not elite enough.

There are no comments on this comment yet.