(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-inap.c) |
| |
| 8810 | | | static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) { |
| 8811 | | | proto_item *cause; |
| 8812 | | | |
| 8813 | | | switch(opcode){ |
| 8814 | | | case opcode_activateServiceFiltering: |
| 8815 | | | offset= dissect_ActivateServiceFilteringArg_PDU(tvb, actx->pinfo , tree); |
| 8816 | | | break; |
| 8817 | | | case opcode_analysedInformation: |
| 8818 | | | offset= dissect_AnalysedInformationArg_PDU(tvb, actx->pinfo , tree); |
| 8819 | | | break; |
| 8820 | | | case opcode_analyseInformation: |
| 8821 | | | offset= dissect_AnalyseInformationArg_PDU(tvb, actx->pinfo , tree); |
| 8822 | | | break; |
| 8823 | | | case opcode_applyCharging: |
| 8824 | | | offset= dissect_ApplyChargingArg_PDU(tvb, actx->pinfo , tree); |
| 8825 | | | break; |
| 8826 | | | case opcode_applyChargingReport: |
| 8827 | | | offset= dissect_ApplyChargingReportArg_PDU(tvb, actx->pinfo , tree); |
| 8828 | | | break; |
| 8829 | | | case opcode_assistRequestInstructions: |
| 8830 | | | offset= dissect_AssistRequestInstructionsArg_PDU(tvb, actx->pinfo , tree); |
| 8831 | | | break; |
| 8832 | | | case opcode_authorizeTermination: |
| 8833 | | | offset= dissect_AuthorizeTerminationArg_PDU(tvb, actx->pinfo , tree); |
| 8834 | | | break; |
| 8835 | | | case opcode_callFiltering: |
| 8836 | | | offset= dissect_CallFilteringArg_PDU(tvb, actx->pinfo , tree); |
| 8837 | | | break; |
| 8838 | | | case opcode_callGap: |
| 8839 | | | offset= dissect_CallGapArg_PDU(tvb, actx->pinfo , tree); |
| 8840 | | | break; |
| 8841 | | | case opcode_callInformationReport: |
| 8842 | | | offset= dissect_CallInformationReportArg_PDU(tvb, actx->pinfo , tree); |
| 8843 | | | break; |
| 8844 | | | case opcode_callInformationRequest: |
| 8845 | | | offset= dissect_CallInformationRequestArg_PDU(tvb, actx->pinfo , tree); |
| 8846 | | | break; |
| 8847 | | | case opcode_cancel: |
| 8848 | | | offset= dissect_CancelArg_PDU(tvb, actx->pinfo , tree); |
| 8849 | | | break; |
| 8850 | | | case opcode_cancelStatusReportRequest: |
| 8851 | | | offset= dissect_CancelStatusReportRequestArg_PDU(tvb, actx->pinfo , tree); |
| 8852 | | | break; |
| 8853 | | | case opcode_collectedInformation: |
| 8854 | | | offset= dissect_CollectedInformationArg_PDU(tvb, actx->pinfo , tree); |
| 8855 | | | break; |
| 8856 | | | case opcode_collectInformation: |
| 8857 | | | offset= dissect_CollectInformationArg_PDU(tvb, actx->pinfo , tree); |
| 8858 | | | break; |
| 8859 | | | case opcode_connect: |
| 8860 | | | offset= dissect_ConnectArg_PDU(tvb, actx->pinfo , tree); |
| 8861 | | | break; |
| 8862 | | | case opcode_connectToResource: |
| 8863 | | | offset= dissect_ConnectToResourceArg_PDU(tvb, actx->pinfo , tree); |
| 8864 | | | break; |
| 8865 | | | case opcode_continueWithArgument: |
| 8866 | | | offset= dissect_ContinueWithArgumentArg_PDU(tvb, actx->pinfo , tree); |
| 8867 | | | break; |
| 8868 | | | case opcode_createCallSegmentAssociation: |
| 8869 | | | offset= dissect_CreateCallSegmentAssociationArg_PDU(tvb, actx->pinfo , tree); |
| 8870 | | | break; |
| 8871 | | | case opcode_createOrRemoveTriggerData: |
| 8872 | | | offset= dissect_CreateOrRemoveTriggerDataArg_PDU(tvb, actx->pinfo , tree); |
| 8873 | | | break; |
| 8874 | | | case opcode_dFCWithArgument: |
| 8875 | | | offset= dissect_DisconnectForwardConnectionWithArgumentArg_PDU(tvb, actx->pinfo , tree); |
| 8876 | | | break; |
| 8877 | | | case opcode_disconnectLeg: |
| 8878 | | | offset= dissect_DisconnectLegArg_PDU(tvb, actx->pinfo , tree); |
| 8879 | | | break; |
| 8880 | | | case opcode_entityReleased: |
| 8881 | | | offset= dissect_EntityReleasedArg_PDU(tvb, actx->pinfo , tree); |
| 8882 | | | break; |
| 8883 | | | case opcode_establishTemporaryConnection: |
| 8884 | | | offset= dissect_EstablishTemporaryConnectionArg_PDU(tvb, actx->pinfo , tree); |
| 8885 | | | break; |
| 8886 | | | case opcode_eventNotificationCharging: |
| 8887 | | | offset= dissect_EventNotificationChargingArg_PDU(tvb, actx->pinfo , tree); |
| 8888 | | | break; |
| 8889 | | | case opcode_eventReportBCSM: |
| 8890 | | | offset= dissect_EventReportBCSMArg_PDU(tvb, actx->pinfo , tree); |
| 8891 | | | break; |
| 8892 | | | case opcode_eventReportFacility: |
| 8893 | | | offset= dissect_EventReportFacilityArg_PDU(tvb, actx->pinfo , tree); |
| 8894 | | | break; |
| 8895 | | | case opcode_facilitySelectedAndAvailable: |
| 8896 | | | offset= dissect_FacilitySelectedAndAvailableArg_PDU(tvb, actx->pinfo , tree); |
| 8897 | | | break; |
| 8898 | | | case opcode_furnishChargingInformation: |
| 8899 | | | offset= dissect_FurnishChargingInformationArg_PDU(tvb, actx->pinfo , tree); |
| 8900 | | | break; |
| 8901 | | | case opcode_holdCallInNetwork: |
| 8902 | | | offset= dissect_HoldCallInNetworkArg_PDU(tvb, actx->pinfo , tree); |
| 8903 | | | break; |
| 8904 | | | case opcode_initialDP: |
| 8905 | | | offset= dissect_InitialDPArg_PDU(tvb, actx->pinfo , tree); |
| 8906 | | | break; |
| 8907 | | | case opcode_initiateCallAttempt: |
| 8908 | | | offset= dissect_InitiateCallAttemptArg_PDU(tvb, actx->pinfo , tree); |
| 8909 | | | break; |
| 8910 | | | case opcode_manageTriggerData: |
| 8911 | | | offset= dissect_ManageTriggerDataArg_PDU(tvb, actx->pinfo , tree); |
| 8912 | | | break; |
| 8913 | | | case opcode_mergeCallSegments: |
| 8914 | | | offset= dissect_MergeCallSegmentsArg_PDU(tvb, actx->pinfo , tree); |
| 8915 | | | break; |
| 8916 | | | case opcode_monitorRouteReport: |
| 8917 | | | offset= dissect_MonitorRouteReportArg_PDU(tvb, actx->pinfo , tree); |
| 8918 | | | break; |
| 8919 | | | case opcode_monitorRouteRequest: |
| 8920 | | | offset= dissect_MonitorRouteRequestArg_PDU(tvb, actx->pinfo , tree); |
| 8921 | | | break; |
| 8922 | | | case opcode_moveCallSegments: |
| 8923 | | | offset= dissect_MoveCallSegmentsArg_PDU(tvb, actx->pinfo , tree); |
| 8924 | | | break; |
| 8925 | | | case opcode_moveLeg: |
| 8926 | | | offset= dissect_MoveLegArg_PDU(tvb, actx->pinfo , tree); |
| 8927 | | | break; |
| 8928 | | | case opcode_oAbandon: |
| 8929 | | | offset= dissect_OAbandonArg_PDU(tvb, actx->pinfo , tree); |
| 8930 | | | break; |
| 8931 | | | case opcode_oAnswer: |
| 8932 | | | offset= dissect_OAnswerArg_PDU(tvb, actx->pinfo , tree); |
| 8933 | | | break; |
| 8934 | | | case opcode_oCalledPartyBusy: |
| 8935 | | | offset= dissect_OCalledPartyBusyArg_PDU(tvb, actx->pinfo , tree); |
| 8936 | | | break; |
| 8937 | | | case opcode_oDisconnect: |
| 8938 | | | offset= dissect_ODisconnectArg_PDU(tvb, actx->pinfo , tree); |
| 8939 | | | break; |
| 8940 | | | case opcode_oMidCall: |
| 8941 | | | offset= dissect_MidCallArg_PDU(tvb, actx->pinfo , tree); |
| 8942 | | | break; |
| 8943 | | | case opcode_oNoAnswer: |
| 8944 | | | offset= dissect_ONoAnswerArg_PDU(tvb, actx->pinfo , tree); |
| 8945 | | | break; |
| 8946 | | | case opcode_originationAttempt: |
| 8947 | | | offset= dissect_OriginationAttemptArg_PDU(tvb, actx->pinfo , tree); |
| 8948 | | | break; |
| 8949 | | | case opcode_originationAttemptAuthorized: |
| 8950 | | | offset= dissect_OriginationAttemptAuthorizedArg_PDU(tvb, actx->pinfo , tree); |
| 8951 | | | break; |
| 8952 | | | case opcode_oSuspended: |
| 8953 | | | offset= dissect_OSuspendedArg_PDU(tvb, actx->pinfo , tree); |
| 8954 | | | break; |
| 8955 | | | case opcode_reconnect: |
| 8956 | | | offset= dissect_ReconnectArg_PDU(tvb, actx->pinfo , tree); |
| 8957 | | | break; |
| 8958 | | | case opcode_releaseCall: |
| 8959 | | | offset= dissect_ReleaseCallArg_PDU(tvb, actx->pinfo , tree); |
| 8960 | | | break; |
| 8961 | | | case opcode_reportUTSI: |
| 8962 | | | offset= dissect_ReportUTSIArg_PDU(tvb, actx->pinfo , tree); |
| 8963 | | | break; |
| 8964 | | | case opcode_requestCurrentStatusReport: |
| 8965 | | | offset= dissect_RequestCurrentStatusReportArg_PDU(tvb, actx->pinfo , tree); |
| 8966 | | | break; |
| 8967 | | | case opcode_requestEveryStatusChangeReport: |
| 8968 | | | offset= dissect_RequestEveryStatusChangeReportArg_PDU(tvb, actx->pinfo , tree); |
| 8969 | | | break; |
| 8970 | | | case opcode_requestFirstStatusMatchReport: |
| 8971 | | | offset= dissect_RequestFirstStatusMatchReportArg_PDU(tvb, actx->pinfo , tree); |
| 8972 | | | break; |
| 8973 | | | case opcode_requestNotificationChargingEvent: |
| 8974 | | | offset= dissect_RequestNotificationChargingEventArg_PDU(tvb, actx->pinfo , tree); |
| 8975 | | | break; |
| 8976 | | | case opcode_requestReportBCSMEvent: |
| 8977 | | | offset= dissect_RequestReportBCSMEventArg_PDU(tvb, actx->pinfo , tree); |
| 8978 | | | break; |
| 8979 | | | case opcode_requestReportFacilityEvent: |
| 8980 | | | offset= dissect_RequestReportFacilityEventArg_PDU(tvb, actx->pinfo , tree); |
| 8981 | | | break; |
| 8982 | | | case opcode_requestReportUTSI: |
| 8983 | | | offset= dissect_RequestReportUTSIArg_PDU(tvb, actx->pinfo , tree); |
| 8984 | | | break; |
| 8985 | | | case opcode_resetTimer: |
| 8986 | | | offset= dissect_ResetTimerArg_PDU(tvb, actx->pinfo , tree); |
| 8987 | | | break; |
| 8988 | | | case opcode_routeSelectFailure: |
| 8989 | | | offset= dissect_RouteSelectFailureArg_PDU(tvb, actx->pinfo , tree); |
| 8990 | | | break; |
| 8991 | | | case opcode_selectFacility: |
| 8992 | | | offset= dissect_SelectFacilityArg_PDU(tvb, actx->pinfo , tree); |
| 8993 | | | break; |
| 8994 | | | case opcode_selectRoute: |
| 8995 | | | offset= dissect_SelectRouteArg_PDU(tvb, actx->pinfo , tree); |
| 8996 | | | break; |
| 8997 | | | case opcode_sendChargingInformation: |
| 8998 | | | offset= dissect_SendChargingInformationArg_PDU(tvb, actx->pinfo , tree); |
| 8999 | | | break; |
| 9000 | | | case opcode_sendFacilityInformation: |
| 9001 | | | offset= dissect_SendFacilityInformationArg_PDU(tvb, actx->pinfo , tree); |
| 9002 | | | break; |
| 9003 | | | case opcode_sendSTUI: |
| 9004 | | | offset= dissect_SendSTUIArg_PDU(tvb, actx->pinfo , tree); |
| 9005 | | | break; |
| 9006 | | | case opcode_serviceFilteringResponse: |
| 9007 | | | offset= dissect_ServiceFilteringResponseArg_PDU(tvb, actx->pinfo , tree); |
| 9008 | | | break; |
| 9009 | | | case opcode_setServiceProfile: |
| 9010 | | | offset= dissect_SetServiceProfileArg_PDU(tvb, actx->pinfo , tree); |
| 9011 | | | break; |
| 9012 | | | case opcode_splitLeg: |
| 9013 | | | offset= dissect_SplitLegArg_PDU(tvb, actx->pinfo , tree); |
| 9014 | | | break; |
| 9015 | | | case opcode_statusReport: |
| 9016 | | | offset= dissect_StatusReportArg_PDU(tvb, actx->pinfo , tree); |
| 9017 | | | break; |
| 9018 | | | case opcode_tAnswer: |
| 9019 | | | offset= dissect_TAnswerArg_PDU(tvb, actx->pinfo , tree); |
| 9020 | | | break; |
| 9021 | | | case opcode_tBusy: |
| 9022 | | | offset= dissect_TBusyArg_PDU(tvb, actx->pinfo , tree); |
| 9023 | | | break; |
| 9024 | | | case opcode_tDisconnect: |
| 9025 | | | offset= dissect_TDisconnectArg_PDU(tvb, actx->pinfo , tree); |
| 9026 | | | break; |
| 9027 | | | case opcode_termAttemptAuthorized: |
| 9028 | | | offset= dissect_TermAttemptAuthorizedArg_PDU(tvb, actx->pinfo , tree); |
| 9029 | | | break; |
| 9030 | | | case opcode_terminationAttempt: |
| 9031 | | | offset= dissect_TerminationAttemptArg_PDU(tvb, actx->pinfo , tree); |
| 9032 | | | break; |
| 9033 | | | case opcode_tMidCall: |
| 9034 | | | offset= dissect_MidCallArg_PDU(tvb, actx->pinfo , tree); |
| 9035 | | | break; |
| 9036 | | | case opcode_tNoAnswer: |
| 9037 | | | offset= dissect_TNoAnswerArg_PDU(tvb, actx->pinfo , tree); |
| 9038 | | | break; |
| 9039 | | | case opcode_tSuspended: |
| 9040 | | | offset= dissect_TSuspendedArg_PDU(tvb, actx->pinfo , tree); |
| 9041 | | | break; |
| 9042 | | | case opcode_playAnnouncement: |
| 9043 | | | offset= dissect_PlayAnnouncementArg_PDU(tvb, actx->pinfo , tree); |
| 9044 | | | break; |
| 9045 | | | case opcode_promptAndCollectUserInformation: |
| 9046 | | | offset= dissect_PromptAndCollectUserInformationArg_PDU(tvb, actx->pinfo , tree); |
| 9047 | | | break; |
| 9048 | | | case opcode_promptAndReceiveMessage: |
| 9049 | | | offset= dissect_PromptAndReceiveMessageArg_PDU(tvb, actx->pinfo , tree); |
| 9050 | | | break; |
| 9051 | | | case opcode_scriptClose: |
| 9052 | | | offset= dissect_ScriptCloseArg_PDU(tvb, actx->pinfo , tree); |
| 9053 | | | break; |
| 9054 | | | case opcode_scriptEvent: |
| 9055 | | | offset= dissect_ScriptEventArg_PDU(tvb, actx->pinfo , tree); |
| 9056 | | | break; |
| 9057 | | | case opcode_scriptInformation: |
| 9058 | | | offset= dissect_ScriptInformationArg_PDU(tvb, actx->pinfo , tree); |
| 9059 | | | break; |
| 9060 | | | case opcode_scriptRun: |
| 9061 | | | offset= dissect_ScriptRunArg_PDU(tvb, actx->pinfo , tree); |
| 9062 | | | break; |
| 9063 | | | case opcode_specializedResourceReport: |
| 9064 | | | offset= dissect_SpecializedResourceReportArg_PDU(tvb, actx->pinfo , tree); |
| 9065 | | | break; |
| 9066 | | | case opcode_srfCallGap: |
| 9067 | | | offset= dissect_SRFCallGapArg_PDU(tvb, actx->pinfo , tree); |
| 9068 | | | break; |
| 9069 | | | cause=proto_tree_add_text(tree, tvb, offset, -1, "Unknown invokeData blob"); |
Unreachable Call
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 9070 | | | proto_item_set_expert_flags(cause, PI_MALFORMED, PI_WARN); |
| 9071 | | | expert_add_info_format(actx->pinfo, cause, PI_MALFORMED, PI_WARN, "Unknown invokeData %d",opcode); |
| 9072 | | | |
| 9073 | | | } |
| 9074 | | | return offset; |
| 9075 | | | } |
| |