[Swan-commit] Changes to ref refs/heads/master
Antony Antony
antony at vault.libreswan.fi
Wed Sep 20 11:10:16 UTC 2017
New commits:
commit 5b63681139d73b02699a7df6b96ff6da310edd0e
Author: Antony Antony <antony at phenome.org>
Date: Wed Sep 20 10:57:56 2017 +0000
ikev1: fix memory lean in quick mode leak: msg_digest
leak: msg_digest in comm_handle, item size: 4144
The leak happened when function quick_inI1_outR1_cryptotail() returned
STF_INTERNAL_ERROR. caller did not call release_any_md()
Now it will always call complete_v1_state_transition()
and call release_any_md()
after the fix
"road-eastnet-ikev1"[2] 192.1.2.254 #4: cannot install eroute -- it is in use for "road-eastnet-ikev1"[1] 192.1.2.254
#2
| complete v1 state transition with STF_INTERNAL_ERROR
| state transition function for STATE_QUICK_R0 had internal error
Note there are possibly other code path where msg_digest could leak.
More information about the Swan-commit
mailing list