(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ppp.c) |
| |
| 4979 | | | proto_reg_handoff_iphc_crtp(void) |
| 4980 | | | { |
| 4981 | | | dissector_handle_t fh_handle; |
| 4982 | | | dissector_handle_t cudp16_handle; |
| 4983 | | | dissector_handle_t cudp8_handle; |
| 4984 | | | dissector_handle_t cs_handle; |
| 4985 | | | |
| 4986 | | | fh_handle = create_dissector_handle(dissect_iphc_crtp_fh, proto_iphc_crtp); |
| 4987 | | | dissector_add("ppp.protocol", PPP_RTP_FH, fh_handle); |
| 4988 | | | |
| 4989 | | | cudp16_handle = create_dissector_handle(dissect_iphc_crtp_cudp16, proto_iphc_crtp); |
| 4990 | | | dissector_add("ppp.protocol", PPP_RTP_CUDP16, cudp16_handle);
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/ppptypes.h |
| |
93 | #define PPP_RTP_CUDP16 0x2067 /* RTP IPHC Compressed UDP 16 */ |
| |
|
| 4991 | | | |
| 4992 | | | cudp8_handle = create_dissector_handle(dissect_iphc_crtp_cudp8, proto_iphc_crtp); |
Ignored Return Value
The return value of create_dissector_handle() is never checked in the highlighted execution scenario. - If the return value can indicate an error, the error will be ignored if the highlighted code executes.
- The return value of create_dissector_handle() is checked 99% of the time in this project. CodeSonar is configured to enforce Ignored Return Value checks for any function whose return value is checked at least 96% of the time, unless the function is used fewer than 20 times. (To modify these thresholds, use configuration file parameters RETURN_CHECKER_SAMPLE_SIZE and RETURN_CHECKER_RATIO. To exempt create_dissector_handle() from the Ignored Return Value check, use configuration file parameter RETURN_CHECKER_IGNORED_FUNCS).
Show: All events | Only primary events |
|
| 4993 | | | dissector_add("ppp.protocol", PPP_RTP_CUDP8, cudp16_handle);
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/ppptypes.h |
| |
67 | #define PPP_RTP_CUDP8 0x67 /* RTP IPHC Compressed UDP 8 */ |
| |
|
| 4994 | | | |
| 4995 | | | cs_handle = create_dissector_handle(dissect_iphc_crtp_cs, proto_iphc_crtp); |
| 4996 | | | dissector_add("ppp.protocol", PPP_RTP_CS, cs_handle); |
| 4997 | | | |
| 4998 | | | |
| 4999 | | | |
| 5000 | | | |
| 5001 | | | |
| 5002 | | | dissector_add("ethertype", PPP_RTP_FH, fh_handle); |
| 5003 | | | dissector_add("ethertype", PPP_RTP_CUDP16, cudp16_handle);
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/ppptypes.h |
| |
93 | #define PPP_RTP_CUDP16 0x2067 /* RTP IPHC Compressed UDP 16 */ |
| |
|
| 5004 | | | dissector_add("ethertype", PPP_RTP_CUDP8, cudp16_handle);
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/ppptypes.h |
| |
67 | #define PPP_RTP_CUDP8 0x67 /* RTP IPHC Compressed UDP 8 */ |
| |
|
| 5005 | | | dissector_add("ethertype", PPP_RTP_CS, cs_handle); |
| 5006 | | | } |
| |