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

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

#8481: strncpy doesn't pad the destination string with NULs
---------------------------------+----------------------------
   Reporter:  hamish             |      Owner:  tqh
       Type:  bug                |     Status:  closed
   Priority:  normal             |  Milestone:  R1
  Component:  System/libroot.so  |    Version:  R1/Development
 Resolution:  fixed              |   Keywords:  strncpy
 Blocked By:                     |   Blocking:
Has a Patch:  1                  |   Platform:  All
---------------------------------+----------------------------
Changes (by tqh):

 * status:  in-progress => closed
 * resolution:   => fixed


Comment:

 Yes, I've been playing a bit with that as well in my spare time.
 Patch applied in hrev44069, nice work.

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

Other related posts: