git: mfiutil - Fix static buffer overflow

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Apr 10 22:03:08 PDT 2017


commit 2753da56a1b5e1d972d23b9cb184248907a92c52
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Apr 10 21:41:43 2017 -0700

    mfiutil - Fix static buffer overflow
    
    * Fix static buffer that is too small.  Use a dynamic asprintf()
      instead.
    
    Dragonfly-bugs: 3002 (dcb)

Summary of changes:
 usr.sbin/mfiutil/mfi_foreign.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2753da56a1b5e1d972d23b9cb184248907a92c52


-- 
DragonFly BSD source repository


More information about the Commits mailing list