aboutsummaryrefslogtreecommitdiffstats
path: root/net/open-isns/files/patch-attrs.c
blob: c491c517712d3c9ee3eb9768ccebf272844c03e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- attrs.c.orig	2021-02-06 13:40:34 UTC
+++ attrs.c
@@ -777,7 +777,7 @@ isns_attr_decode(buf_t *bp, isns_attr_t **result)
 {
 	isns_attr_t	*attr = NULL;
 	isns_value_t	*value;
-	uint32_t	tag, len;
+	uint32_t	tag, len=0;
 
 	if (!buf_get32(bp, &tag)
 	 || !buf_get32(bp, &len))