[haiku-bugs] Re: [Haiku] #9931: Allocate returned buffer in realpath() in case resolved_name's argument is NULL

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Sun, 10 Nov 2013 22:28:49 -0000

#9931: Allocate returned buffer in realpath() in case resolved_name's argument 
is
NULL
---------------------------------+-------------------------
   Reporter:  oco                |      Owner:  korli
       Type:  enhancement        |     Status:  closed
   Priority:  normal             |  Milestone:  R1
  Component:  System/libroot.so  |    Version:  R1/alpha4.1
 Resolution:  fixed              |   Keywords:  realpath
 Blocked By:                     |   Blocking:
Has a Patch:  1                  |   Platform:  All
---------------------------------+-------------------------
Changes (by korli):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Edited and applied in hrev46345. In case of error, the newly allocated
 buffer shall be freed.

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

Other related posts: