This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/9999

** Tags added: package-qa-testing

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/9999

Title:
  cfdisk crashes if terminal size is too small

Status in util-linux package in Ubuntu:
  Fix Released

Bug description:
  Hello,

  I've tried to run cfdisk in a narrow (less than 40 columns) gnome-terminal 
window,
  and cfdisk crashed.

  If the user doesn't have rights to read the device, the crash doesn't occur, 
because
  the program merely displays an error message. It can be reproduced only when
  actually
  seeing the partition layout of a device.

  The problem is caused by some (unsafe) usage of sprintf. The patch I'm going 
to
  attach
  changes most unsafe sprintf calls to snprintf, and it looks like the bug is 
solved.

  The considered util-linux version is 2.12h-3ubuntu1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/9999/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to