News for hackers. Stuff that matters.
Re:Git's list of banned C functions by schlupa on Friday March 05, 2021 @10:05AM (#26357579)
Also most of the time people have serious performance regressions with strncpy() as the function overwrites with 0 all the test of the buffer.

     char buffer[2000];
     strcpy(buffer, "hello", sizeof buffer);
writes "hello" and 1995 0 to the buffer.

There are no comments on this comment yet.