#8481: strncpy doesn't pad the destination string with NULs ---------------------------------+---------------------------- Reporter: hamish | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/Development Resolution: | Keywords: strncpy Blocked By: | Blocking: Has a Patch: 1 | Platform: All ---------------------------------+---------------------------- Comment (by hamish): To my understanding, unaligned access is not necessarily OK on all architectures. Given that this is a generic strncpy it's probably a good idea to avoid it? -- Ticket URL: <http://dev.haiku-os.org/ticket/8481#comment:11> Haiku <http://dev.haiku-os.org> Haiku - the operating system.