[haiku-bugs] Re: [Haiku] #9489: Divide Error Exception - GPT Partition Table Driver

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Apr 2013 17:21:09 -0000

#9489: Divide Error Exception - GPT Partition Table Driver
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Partitioning Systems/GPT  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:  9603
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by kallisti5):

 Replying to [comment:5 phoudoin]:
 > Due to the risk that any unchecked division in kernel space pose, I'm
 inclined to prefer paying the price of multiple checks than the one we pay
 right now, a KDL.

 This would be nice place for an assert check (and fixing the code that
 calls it to not call it with a 0 set.)

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

Other related posts: