> So wapbox log at debug level (level 0), with configured Kannel
> --with-defaults=debug would be useful.

  Well. Maybe I found something.

  Before crash I'm getting the message "WARNING: WTP: got
a truncated datagram, ignoring".
  Lines 130-131 contains the following code:
event = unpack_wdp_datagram_real(subdgram);
wap_event_assert(event);

  And unpack_wdp_datagram_read returns NULL if it detects
truncated datagram. Without assertions the wapbox crashes
by trying to access event->type in wap/wap_events.c line 222.

  How to fix that?

  Mindaugas


Reply via email to