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_ah.c | |
parent | 0844b008655d714d96bb2a0a70156cbb545c7153 (diff) |
Initialize mo to NULL, for good measure -- sam@errno.com
Diffstat (limited to 'sys/netinet/ip_ah.c')
-rw-r--r-- | sys/netinet/ip_ah.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c index dd35b0c38b9..80274c5ae7a 100644 --- a/sys/netinet/ip_ah.c +++ b/sys/netinet/ip_ah.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ah.c,v 1.66 2002/06/18 19:21:48 angelos Exp $ */ +/* $OpenBSD: ip_ah.c,v 1.67 2002/06/18 22:48:16 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -1040,6 +1040,7 @@ ah_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, * 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))) { |