[haiku-bugs] Re: [Haiku] #8481: strncpy doesn't pad the destination string with NULs

  • From: "tqh" <trac@xxxxxxxxxxxx>
  • Date: Wed, 25 Apr 2012 16:25:16 -0000

#8481: strncpy doesn't pad the destination string with NULs
---------------------------------+----------------------------
   Reporter:  hamish             |      Owner:  tqh
       Type:  bug                |     Status:  in-progress
   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 tqh):

 Btw we need source aligned so that the source word never steps over a page
 boundry if it reads a byte or three past the \0.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8481#comment:14>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: