Public bug reported: Binary package hint: util-linux
mkdosfs will segfault if I enter an invalid value for -b. I had accidentally typed mkfs.vfat instead of mkfs.ext2 but then entered the -b 4096 option correctly and pressed Enter. The result was: Segmentation fault (core dumped) Of course, this occured because -b is also an option used by mkdosfs (mkfs.vfat) so it was trying to use the sector value 4096, which I am assuming is invalid. Shouldn't mkdosfs be able to determine if a value for -b is invalid and if so then fail gracefully? Steps to replicate: sudo mkdosfs -b 4096 /dev/sdx1 (where x = disk device, eg., sda1) ** Affects: util-linux (Ubuntu) Importance: Undecided Status: New -- mkdosfs segfault if enter invalid value for -b https://bugs.launchpad.net/bugs/190125 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs