From af9e810c3c08e96f9273e4caa6732b245a676b1b Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 5 Jul 2017 08:05:05 +0300 Subject: [PATCH] 8461 fcip: 'tok_buf_size' may be used uninitialized in this function Reviewed by: Peter Tribble Reviewed by: Jason King Reviewed by: Gary Mills Approved by: Richard Lowe --- usr/src/uts/common/io/fibre-channel/ulp/fcip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/uts/common/io/fibre-channel/ulp/fcip.c b/usr/src/uts/common/io/fibre-channel/ulp/fcip.c index 423452e44c..c09f6fb613 100644 --- a/usr/src/uts/common/io/fibre-channel/ulp/fcip.c +++ b/usr/src/uts/common/io/fibre-channel/ulp/fcip.c @@ -4684,7 +4684,7 @@ fcip_init_port(struct fcip *fptr) int rval = FC_SUCCESS; fcip_port_info_t *fport = fptr->fcip_port_info; static char buf[64]; - size_t tok_buf_size; + size_t tok_buf_size = 0; ASSERT(fport != NULL); -- 2.11.4.GIT