[haiku-bugs] Re: [Haiku] #10186: Devices application crashes

  • From: "PieterPanman" <trac@xxxxxxxxxxxx>
  • Date: Fri, 15 Nov 2013 21:38:15 -0000

#10186: Devices application crashes
------------------------------------+----------------------------
   Reporter:  kallisti5             |      Owner:  nobody
       Type:  bug                   |     Status:  new
   Priority:  high                  |  Milestone:  R1/beta1
  Component:  Applications/Devices  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by PieterPanman):

 Replying to [comment:5 korli]:
 > One has to check the kCategoryString's bounds anyway and print a message
 in such a case.

 That one was me (author of Devices), it's been a while since I've worked
 on this... I'm working on a patch for the above omission.

 In the mean time, Alex, could you please execute listdev -d and post the
 results? I checked my code and the only reasonable location where
 fCategory can be outside of the array is when it comes from the
 DEVICE_TYPE attribute. This attribute which originates from the haiku
 Device Manager through the syscalls. This attribute will show up under
 "device/type" attribute when you do listdev -d.

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

Other related posts: