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

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 18 Apr 2012 19:05:39 -0000

#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
 Keywords:  strncpy            |   Blocked By:
 Blocking:                     |  Has a Patch:  0
 Platform:  All                |
-------------------------------+------------------------------
 See the relevant standard:
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/strncpy.html

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

Other related posts: