News for hackers. Stuff that matters.
Re:Everything I wish I knew when learning C by sedatk on Monday November 28, 2022 @04:03PM (#33779596)
> and always remember that "%s" part. Never put src there, of course

> Note that this only works if dst is a stack allocated array

Even this "ideal" solution is full of pitfalls. The state of memory safety is so sad in the world of C.

There are no comments on this comment yet.