diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-18 22:48:17 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-18 22:48:17 +0000 |
commit | 3deff487ed8cfae54a90761ad362e7eed522977e (patch) | |
tree | 9884dadc89a8b65238b3c49f9771dac81cc888c2 /sys/netinet/ip_ipcomp.c | |
parent | 0844b008655d714d96bb2a0a70156cbb545c7153 (diff) |
Initialize mo to NULL, for good measure -- sam@errno.com
Diffstat (limited to 'sys/netinet/ip_ipcomp.c')
-rw-r--r-- | sys/netinet/ip_ipcomp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c index 38a8e1fc85e..0d928ae4983 100644 --- a/sys/netinet/ip_ipcomp.c +++ b/sys/netinet/ip_ipcomp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipcomp.c,v 1.4 2002/06/18 22:26:12 angelos Exp $ */ +/* $OpenBSD: ip_ipcomp.c,v 1.5 2002/06/18 22:48:16 angelos Exp $ */ /* * Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org) @@ -483,6 +483,7 @@ ipcomp_output(m, tdb, mp, skip, protoff) * Loop through mbuf chain; if we find an M_EXT mbuf with * more than one reference, replace the rest of the chain. */ + mo = NULL; mi = m; while (mi != NULL && (!(mi->m_flags & M_EXT) || !MCLISREFERENCED(mi))) { |