Hi all, I have been assisting with a KSMPPD implementation and couldn't figure out why the application was leaking memory.
After a long search I found that an SMPP client was sending the same TLV multiple times which was causing lost pointers/memory leaks. I believe this would effect all Kannel derivatives (OpenSMPPBox, Commercial SMPPBox and Bearerbox) in the cases where an incorrectly implemented (or malicious?) client or gateway could be the cause of memory leaks. Herewith patch to fix. Thanks, Donald
smpp_pdu_tlv_memory_leak.patch
Description: Binary data