[haiku-bugs] Re: [Haiku] #9687: [bin:kill] crashes if pid doesn't exit

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Fri, 19 Apr 2013 13:19:18 -0000

#9687: [bin:kill] crashes if pid doesn't exit
-----------------------------------------------+---------------------------
   Reporter:  diver                            |      Owner:  phoudoin
       Type:  bug                              |     Status:  new
   Priority:  normal                           |  Milestone:  R1
  Component:  Applications/Command Line Tools  |    Version:
 Resolution:                                   |  R1/Development
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |   Blocking:
                                               |   Platform:  All
-----------------------------------------------+---------------------------

Comment (by anevilyak):

 Interestingly, I can't reproduce the crashing part on my machine over
 here, though I do see the doubled messages. One thing that strikes me of
 interest is that kill seems to assume/rely on the argv array being NULL
 terminated, which I didn't think was required/part of the standard, so I
 could see how it might potentially crash.

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

Other related posts: