Re: two deallocations in url_result_thread in smsbox
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday, July 28, 2003, at 11:00 AM, Stipe Tolj wrote: > Aarno Syvänen wrote: > >> I think we have a problem in smsbox: >> >> Url_result_thread has octstr_destroy(charset). Charset is copied >> (without allocation) to msg structure, and deallocated >> when msg_destroy is called. > > so this is resulting in a segfault?! Yep, got problems with ppg sms level delivery reports. > >> And another thing: is there are no charset defined with content type, >> default is, as per rfc 2616, iso-8859-1. > > which indicates Bruno's transcoding changes in wapbox are wrong?! He > tries to transcode to utf-8 whenever possible. No, this is a different thing. It is just that if http receives something, and there is no charset specified, it must assume that charset is iso-8859-1. Kannel internal coding is another matter. Aarno