Re: [BUG] Database DLR crashes Kannel after dlr schema change

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
> After your latest change to the DLR handling, using DLR with mysql
> crashes the system everytime. in dlr_add_{mysql|sdb}, in the
> octstr_format call you added the "source" field, but not the data to
> the format call. as a result, octstr_format is missing one parameter
> and is trying to format an integer as a cstring - which promply
> crashes the box.
> 
> I must say - for a simple bug, this was quite anoying to track down,
> especially as we had a presentation running at the same time
> with untested code running on the demo server (because of the SMPP
> esm_class bug I had to upload a CVS snapshot with a fix to the demo
> server, and that snapshot already had the DLR changes in).
> 
> As always, here's a patch ;-)

yep, my fault, blame on me. Thanks for the quick patch.

Andreas fixed it already in the cvs now.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.