Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2015 12:40:42 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r285950 - stable/10/usr.sbin/mfiutil
Message-ID:  <201507281240.t6SCegFp098520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Jul 28 12:40:41 2015
New Revision: 285950
URL: https://svnweb.freebsd.org/changeset/base/285950

Log:
  MFC r201289: mfiutil: increase buffer size to accommodate sprintf string
  
  PR:		201289

Modified:
  stable/10/usr.sbin/mfiutil/mfi_foreign.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/mfiutil/mfi_foreign.c
==============================================================================
--- stable/10/usr.sbin/mfiutil/mfi_foreign.c	Tue Jul 28 12:40:09 2015	(r285949)
+++ stable/10/usr.sbin/mfiutil/mfi_foreign.c	Tue Jul 28 12:40:41 2015	(r285950)
@@ -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?201507281240.t6SCegFp098520>