Re: [FYI] fixed WTP bogus PDU handling bug and commited octstr_dump() enhancements

"Deon van der Merwe" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Stipe,

On 2/23/06, Stipe Tolj <[email protected]> wrote:
> Hi list,
>
> two commits from my side for today:
>
> 2006-02-23  Stipe Tolj  <stolj at kannel.org>
>    * wap/wtp.c: fixing bug #310, causing wapbox to panic while gwlist_append()
>      produces an assertion error if a malformed WTP datagram is tried to be
>      processes and we try to send an RcvError PDU deducing the TID value from
>      the WTP datagram, causing us to push the WAPEvent into a wrong list.
>
> This was causing wapbox to panic on a high-loaded system. Now we're supposed to
> consider us immunic for bogus WTP data. We simply don't reply to the WTP initiator.
>

Is this realted to PANIC's like this:
2006-02-23 09:42:46 [7958] [0] PANIC: gwlib/list.c:502: lock:
Assertion `list != NULL' failed.
2006-02-23 09:42:46 [7958] [0] PANIC:
/usr/local/sbin/wapbox(gw_panic+0x16b) [0x80d2b8a]
2006-02-23 09:42:46 [7958] [0] PANIC: /usr/local/sbin/wapbox [0x80d1a94]
2006-02-23 09:42:46 [7958] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_append+0x11) [0x80d0eec]
2006-02-23 09:42:46 [7958] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_produce+0x14) [0x80d1782]
2006-02-23 09:42:46 [7958] [0] PANIC:
/usr/local/sbin/wapbox(wtp_initiator_dispatch_event+0x17) [0x80a7f8e]
2006-02-23 09:42:46 [7958] [0] PANIC:
/usr/local/sbin/wapbox(wap_dispatch_datagram+0x11c) [0x808606c]
2006-02-23 09:42:46 [7958] [0] PANIC:
/usr/local/sbin/wapbox(main+0x45e) [0x805bafd]
2006-02-23 09:42:46 [7958] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xc6) [0x4bcde6]
2006-02-23 09:42:46 [7958] [0] PANIC: /usr/local/sbin/wapbox [0x8059e4d]

This has happenned before, and again now with the "Kannel wapbox
version cvs-20060223 starting up" version.
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.