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

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 25 Apr 2012 14:28:09 -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
 Resolution:                     |   Keywords:  strncpy
 Blocked By:                     |   Blocking:
Has a Patch:  1                  |   Platform:  All
---------------------------------+----------------------------

Attachment added (by hamish):

0001-strncpy-pad-the-destination-with-NULs.patch (2.1 KB) - no description

View the file at 
http://dev.haiku-os.org/attachment/ticket/8481/0001-strncpy-pad-the-destination-with-NULs.patch

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

Other related posts: