diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-07-07 09:16:21 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-07-07 09:16:21 +0000 |
commit | 81f0eb279319d31a8f5064e0f82575f772bf4a7b (patch) | |
tree | 3ef954ae1a1d69d6c5e1820656679b39ad60fc58 | |
parent | b2d1244ff34d26ee86ca93a5f2d0d5e1a2538692 (diff) |
plug memleak when receiving an INVALID_HASH_INFORMATION notify.
Found by Patrick Latifi, thanks!
ok ho@
-rw-r--r-- | sbin/isakmpd/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index af502d02f19..723b08001ba 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.84 2004/06/21 16:01:56 ho Exp $ */ +/* $OpenBSD: message.c,v 1.85 2004/07/07 09:16:20 hshoexer Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -729,7 +729,7 @@ message_validate_hash(struct message *msg, struct payload *p) "payload", payload_first(msg, ISAKMP_PAYLOAD_DELETE) ? "DELETE" : "NOTIFY"); message_drop(msg, ISAKMP_NOTIFY_INVALID_HASH_INFORMATION, - 0, 1, 0); + 0, 1, 1); free(comp_hash); return -1; } |