freebsd-dev/usr.sbin/mfiutil
Sergey Kandaurov 023c93f2c8 Fix division by zero, causing floating point exception in a drive progress
command.

It was possible to read a value of zero from a busy controller used
as the divisor to calculate the remaining rebuild time.

Reported by:	Pavel Udovenko <udovenko att nic.ru>
Discussed with:	jhb
Approved by:	kib (mentor)
MFC after:	1 week
2011-02-25 13:59:59 +00:00
..
Makefile Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
mfi_cmd.c Fix division by zero, causing floating point exception in a drive progress 2011-02-25 13:59:59 +00:00
mfi_config.c Handle malloc() failures more gracefully by error'ing out rather than 2010-11-19 15:39:59 +00:00
mfi_drive.c - Save errno values before calling warn(3) so that errors are correctly 2010-10-26 19:11:09 +00:00
mfi_evt.c Handle malloc() failures more gracefully by error'ing out rather than 2010-11-19 15:39:59 +00:00
mfi_flash.c Handle malloc() failures more gracefully by error'ing out rather than 2010-11-19 15:39:59 +00:00
mfi_patrol.c - Save errno values before calling warn(3) so that errors are correctly 2010-10-26 19:11:09 +00:00
mfi_show.c - Save errno values before calling warn(3) so that errors are correctly 2010-10-26 19:11:09 +00:00
mfi_volume.c - Save errno values before calling warn(3) so that errors are correctly 2010-10-26 19:11:09 +00:00
mfiutil.8 Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
mfiutil.c Report subcommand handler errors in mfiutil/mptutil so that tools that 2010-10-10 20:37:38 +00:00
mfiutil.h