Re: REPOST: [PATCH] Patch to remove: PANIC: wap/cookies.c:349: add_cookie_to_cache: Assertion `sm -> cookies != NUL

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Davy Chan wrote:

> Cleaning out my mailbox, I found this orphaned message that might have been
> overlooked (no followup and no voting). Was there a reason not to
> apply this 2 line safety check?

thanks Davy for pointing again to this.

I fixed it in cvs:

2005-02-18  Stipe Tolj  <[email protected]>
     * gw/wap-appl.c, wap/cookies.c, wap/wsp_session.c: fixing an assertion
       PANIC, while passing a NULLed List* to cookies.c:add_cookie_to_cache().
       We now gwlist_create() the cookies list inside machine_create().
       Thanks to Jacob Dalsgaard <[email protected]> for
       reporting this and Davy for pushing the "recalling"-button.
       [Msg-ID: <[email protected]>]

by garanteeing the gwlist_create() while the WSPMachine is created. Please check.

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
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.