mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix C2S session data leak (#1078)
This commit is contained in:
parent
068db1a2d9
commit
be2a9e35ae
@ -1053,7 +1053,11 @@ wait_for_bind({xmlstreamelement, El}, StateData) ->
|
||||
children =
|
||||
[{xmlcdata,
|
||||
jid:to_string(JID)}]}]}]},
|
||||
send_element(StateData3, jlib:iq_to_xml(Res)),
|
||||
try
|
||||
send_element(StateData3, jlib:iq_to_xml(Res))
|
||||
catch exit:normal ->
|
||||
close(self())
|
||||
end,
|
||||
fsm_next_state_pack(
|
||||
session_established,
|
||||
StateData3);
|
||||
|
Loading…
Reference in New Issue
Block a user