Hi list We encountered a bug that causes SMPP to panic when creating the PDU if the receiver or sender address is longer then 20 characters. the panic occures in smpp_pdu.c in smpp_pdu_pack which asserts on the length of the source Octstr before packing it into the PDU. I don't want to change the assert, just make sure that it will not be invoked just because the user enetered bad data, so attached is this patch.
--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]
+972-9-9581711 (116)
+972-67-340014
::..
"I realized that the purpose of writing is to inflate weak ideas."
-- Calvin and Hobbes
<<smsc_smpp.patch>>
smsc_smpp.patch
Description: smsc_smpp.patch
