gen_esme_session crash on enquire_link
Brought to you by:
mpquique
In handle_event when another smpp pdu is received when
an enquire_link_resp is expected, a call is made to
binary:to_hexlist(Pdu). But the Pdu is a dictionary and
not a binary, so the process will exit with
error_info: {badarg,[{erlang,binary_to_list,
[{dict,
23,
16,
16,
8,
.
.
. [[dest_addr_ton|0],
[source_addr_ton|2]],
[]}}}]},
{binary,to_hexlist,1},
{gen_esme_session,handle_event,3},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}