freebsd-ports/net/open-isns/files/patch-attrs.c
Steve Wills 1234a8de5c net/open-isns: update to 0.99
PR:		232760
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2019-01-05 21:36:39 +00:00

11 lines
269 B
C

--- attrs.c.orig 2018-10-28 09:10:34 UTC
+++ attrs.c
@@ -777,7 +777,7 @@ isns_attr_decode(buf_t *bp, isns_attr_t
{
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))