mfiutil - Fix static buffer overflow
commit2753da56a1b5e1d972d23b9cb184248907a92c52
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 11 Apr 2017 04:41:43 +0000 (10 21:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 11 Apr 2017 04:41:43 +0000 (10 21:41 -0700)
tree129ec7ebb76683efb987a9094268e624c043ab83
parentb872d7c8c345e56d5835ea63d8d7f919428bb506
mfiutil - Fix static buffer overflow

* Fix static buffer that is too small.  Use a dynamic asprintf()
  instead.

Dragonfly-bugs: 3002 (dcb)
usr.sbin/mfiutil/mfi_foreign.c