Re: [PATCH] faulty mime module

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Paul Bagyenda wrote:
> Hi,
> 
>  There is a small but nasty bug in gwlib/mime.c which causes it to  
> crash when parsing multi-part messages.  This is caused by free-ing  an 
> Octstr and then returning a pointer to the same (which then gets  used)!
> 
>  The small diff attached fixes the problem.

Hi Paul,

definetly ++1, commited to cvs, thanks!

2006-11-18  Stipe Tolj  <stolj at kannel.org>
     * gwlib/mime.c: fixing bug causing segfault due to destroyed, but then
       reused Octstr pointer. Thanks to Paul for spotting this.
       [Msg-Id: <[email protected]>]

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
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.