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