#10223: Fixed possibly not null-terminated strings -------------------------+------------------------------ Reporter: Ezodev | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: - General | Version: R1/Development Resolution: | Keywords: gci2013 coverity Blocked By: | Blocking: Has a Patch: 1 | Platform: All -------------------------+------------------------------ Comment (by bonefish): The preferred solution would be to simply use `strlcpy()` instead of `strncpy()`. BTW, `NULL` is the null pointer. For the nul character `'\0'` should be used. -- Ticket URL: <http://dev.haiku-os.org/ticket/10223#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.