Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 01:43:11 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285067 - head/usr.sbin/mfiutil
Message-ID:  <201507030143.t631hBmZ036946@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Jul  3 01:43:11 2015
New Revision: 285067
URL: https://svnweb.freebsd.org/changeset/base/285067

Log:
  mfiutil: increase buffer size to accommodate sprintf string
  
  PR:		201289
  MFC after:	1 week

Modified:
  head/usr.sbin/mfiutil/mfi_foreign.c

Modified: head/usr.sbin/mfiutil/mfi_foreign.c
==============================================================================
--- head/usr.sbin/mfiutil/mfi_foreign.c	Fri Jul  3 01:15:21 2015	(r285066)
+++ head/usr.sbin/mfiutil/mfi_foreign.c	Fri Jul  3 01:43:11 2015	(r285067)
@@ -110,7 +110,7 @@ static int
 foreign_show_cfg(int fd, uint32_t opcode, uint8_t cfgidx, int diagnostic)
 {
 	struct mfi_config_data *config;
-	char prefix[26];
+	char prefix[64];
 	int error;
 	uint8_t mbox[4];
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507030143.t631hBmZ036946>