Fix Checkapi found errors.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 28 Nov 2011 18:10:57 +0000 (18:10 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 28 Nov 2011 18:10:57 +0000 (18:10 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40030 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-bfd.c
epan/dissectors/packet-gsm_a_gm.c
epan/dissectors/packet-mpls.c

index 95940105126856f0d1c95a7c94e4f40deba2dccd..021c26ef0123adc3d8dfb3eeaba8be0e123b0ea0 100644 (file)
@@ -831,32 +831,32 @@ void proto_register_bfd(void)
         { &hf_mep_tunnel_no,
           { "Tunnel Number", "mep.tunnel.no",
             FT_UINT16, BASE_DEC, NULL , 0x0,
-            "Tunnel Number", HFILL }
+            NULL, HFILL }
         },
         { &hf_mep_lsp_no,
           { "LSP Number", "mep.lsp.no",
             FT_UINT16, BASE_DEC, NULL , 0x0,
-            "LSP Number", HFILL }
+            NULL, HFILL }
         },
         { &hf_mep_ac_id,
           { "AC Id", "mep.ac.id",
             FT_UINT32, BASE_DEC, NULL , 0x0,
-            "AC Identifier", HFILL }
+            NULL, HFILL }
         },
         { &hf_mep_agi_type,
           { "AGI TYPE", "mep.agi.type",
             FT_UINT8, BASE_DEC, NULL , 0x0,
-            "AGI TYPE", HFILL }
+            NULL, HFILL }
         },
         { &hf_mep_agi_len,
           { "AGI Length", "mep.agi.len",
             FT_UINT8, BASE_DEC, NULL , 0x0,
-            "AGI Length", HFILL }
+            NULL, HFILL }
         },
         { &hf_mep_agi_val,
           { "AGI value", "mep.agi.val",
             FT_STRING, BASE_NONE, NULL , 0x0,
-            "AGI String", HFILL }  
+            NULL, HFILL }  
         },
         { &hf_section_interface_no,
           { "Interface Number", "mep.interface.no",
index 26384619be28a0fde73e4263ddf94f3d68ac7b48..8a04b852ff98d99a976b1285eaedafdc35701037 100644 (file)
@@ -6301,7 +6301,7 @@ dtap_sm_req_sec_pdp_act(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gui
        /* 36 TFT Traffic Flow Template 10.5.6.12 O TLV 3-257 */
        ELEM_OPT_TLV(0x36, GSM_A_PDU_TYPE_GM, DE_TRAFFIC_FLOW_TEMPLATE, NULL);
 
-       /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 \96 253 */
+       /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 - 253 */
        ELEM_OPT_TLV(0x27, GSM_A_PDU_TYPE_GM, DE_PRO_CONF_OPT, NULL);
 
        EXTRANEOUS_DATA_CHECK_EXPERT(curr_len, 0, pinfo);
@@ -6327,7 +6327,7 @@ dtap_sm_req_sec_pdp_act_rej(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
        /* SM cause SM cause 10.5.6.6 M V 1 */
        ELEM_MAND_V(GSM_A_PDU_TYPE_GM, DE_SM_CAUSE, NULL);
 
-       /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 \96 253 */
+       /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 - 253 */
        ELEM_OPT_TLV(0x27, GSM_A_PDU_TYPE_GM, DE_PRO_CONF_OPT, NULL);
 
        EXTRANEOUS_DATA_CHECK_EXPERT(curr_len, 0, pinfo);
index 981dc0a32afc767b986917e355486b6849e3dc71..a8bd8354e64b042f660fcf1755755daba968f800 100644 (file)
@@ -836,13 +836,13 @@ dissect_mpls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        }
 
        if (label == LABEL_GACH && bos) {
-           strcpy(PW_ACH,"Generic Associated Channel Header");
+           g_strlcpy(PW_ACH,"Generic Associated Channel Header",50);
            next_tvb = tvb_new_subset_remaining(tvb, offset);
            dissect_pw_ach( next_tvb, pinfo, tree );
            return;     
        }
        else
-       strcpy(PW_ACH,"PW Associated Channel Header");
+       g_strlcpy(PW_ACH,"PW Associated Channel Header",50);
 
         if (bos) break;
     }