Comment 1 for bug 1541510

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

 vtoc_set_freespace (f4=<optimized out>, f5=0x2aa0003c0e0, f7=<optimized out>,
    ch=<optimized out>, verbose=0, start=2, stop=4294967295, cyl=60101, trk=0)
    at ../../../libparted/labels/vtoc.c:1321

vtoc_set_freespace is called with trk=0, yet

1321: y = (u_int16_t) ((stop - start + 1) / trk);

tries to divide by zero.