Ethereal-dev: Re: [Ethereal-dev] Core dump in current gsm-sms-ud dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Chris Wilson <chris@xxxxxxxxxxxxx>
Date: Tue, 27 Jan 2004 16:31:44 +0000
Hi Olivier,

> Current "gsm-sms-ud" dissector causes a crash on a reference capture I
> have(funny it didn't crash yesterday when I committed a SMPP patch). I
> think the gsm-sms-ud protocol registration is the cause (handle = 0x0).
> As I don't have the time right now, could someone else have a look?

This is my fault, missed a bit whilst pulling GSM SMS UD from the SMPP code. You'll only see that problem if you have the option to pass all UDH with a port onto the WSP dissector (aside: shouldn't that option be in the WSP dissector?)

Fix is:

RCS file: /cvsroot/ethereal/packet-gsm_sms_ud.c,v
retrieving revision 1.3
diff -r1.3 packet-gsm_sms_ud.c
613a627,629
> 
>       wsp_handle = find_dissector("wsp-cl");
>       g_assert (wsp_handle);

Cheers,

Chris

-- 
Chris Wilson <chris@xxxxxxxxxxxxx>
http://www.mxtelecom.com