Re: two deallocations in url_result_thread in smsbox

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
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?!

> 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.

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.