fdasd_check_volume calls vtoc_set_freespace with anc->geo.heads argument

fdasd_check_volume is called from dasd_probe

which before calling fdasd_check_volume called fdasd_get_geometry, which
did iocl call, and filled the geometry with:

Heads 0
Secotrs 0
Cylinders 1023
Start 4397693661968

thus in vtoc_set_freespace we end up with division by zero and blow up

** Changed in: parted (Ubuntu)
     Assignee: (unassigned) => Viktor Mihajlovski (mihajlov)

** Changed in: parted (Ubuntu)
       Status: New => Confirmed

** Changed in: parted (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541510

Title:
  parted crashes on lvm, on a dasd drive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1541510/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to