Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2218] SMPP source_subaddress optional parametar

Date: Sat, 26 Jan 2008 02:41:00 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2218


Boris Barbulovski <b.barbulovski@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Boris Barbulovski <b.barbulovski@xxxxxxxxxxxx>  2008-01-26 02:40:58 GMT ---
here is the fix.

--- wireshark-0.99.7a/epan/dissectors/packet-smpp.c     2008-01-26
03:02:50.000000000 +0100
+++ wireshark-0.99.7/epan/dissectors/packet-smpp.c      2007-12-18
02:16:03.000000000 +0100
@@ -1050,8 +1050,8 @@
                                 hf_smpp_privacy_indicator, offset);
                break;
            case  0x0202:       /* source_subaddress    */
-               proto_tree_add_string(sub_tree, hf_smpp_source_subaddress, tvb,
*offset, length,
-                 (const char *) tvb_get_ptr(tvb, *offset, length));
+               smpp_handle_string(sub_tree, tvb,
+                                  hf_smpp_source_subaddress, offset);
                break;
            case  0x0203:       /* dest_subaddress      */
                smpp_handle_string(sub_tree, tvb,


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.