1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00
freebsd/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
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
mfiutil.c
mfiutil.h