News for hackers. Stuff that matters.
Re:Memory Safe Languages in Android 13 by jstimpfle on Friday December 02, 2022 @03:58AM (#33828315)
strncpy doesn't do what you want. Maybe you mean snprintf. Indeed use of sizeof, memcpy, and snprintf. Avoid strlen, it is rarely necessary.

There are no comments on this comment yet.