> > When using DLR with my SMSC that uses SMPP kannel crashes (cvs >> version): >> >> 2001-12-31 21:42:27 [9] DEBUG: **********>>>>>>>>>>>>>> SMPP handle_pdu >> Got DELIVER REPORT >> >> 2001-12-31 21:42:27 [9] >> PANIC: gwlib/octstr.c:2032: seems_valid_real: Assertion `ostr != NULL' >> failed. (Called from gwlib/octstr.c:728:octstr_compare.) > >it seems that there is a octstr_compare() call within smsc_smpp.c at >line 449-450 that cause this assertion. > >The following atteched patch should fix this NULL pointer assertion >for octstr_compare?! >Stefan, please try this patch and report and if there are no >objections we will commit the patch to cvs.
Why dont we modify octstr_compare that a NULL string can be compared too? NULL would then be equal to "". Does that make sense? -- Andreas Fink Fink-Consulting ------------------------------------------------------------------ Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com ------------------------------------------------------------------ Something urgent? Try http://www.smsrelay.com/ Nickname afink