From ab82c29b6e890d0f1241f9cd0cefda3430f46bd5 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sat, 28 Dec 2019 14:24:51 +0200 Subject: 12173 ip: variable may be used uninitialized in this function Reviewed by: Dan McDonald Approved by: Robert Mustacchi --- usr/src/uts/common/inet/tcp/tcp_misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/src/uts/common/inet/tcp/tcp_misc.c') diff --git a/usr/src/uts/common/inet/tcp/tcp_misc.c b/usr/src/uts/common/inet/tcp/tcp_misc.c index 4f6399c433..0896dd7611 100644 --- a/usr/src/uts/common/inet/tcp/tcp_misc.c +++ b/usr/src/uts/common/inet/tcp/tcp_misc.c @@ -291,6 +291,7 @@ tcp_ioctl_abort_bucket(tcp_ioc_abort_conn_t *acp, int index, int *count, startover: nmatch = 0; + last = NULL; mutex_enter(&connfp->connf_lock); for (tconnp = connfp->connf_head; tconnp != NULL; -- cgit v1.2.3