Unreachable Computation at packet-h223.c:1092 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
attempt_mux_level1_header_parse (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h223.c)![]() | ||||||
![]() | ||||||
1087 | static gboolean attempt_mux_level1_header_parse(guint32 nbytes, guint32 hdr, guint32 *minlen) | |||||
1088 | { | |||||
1089 | /* this is untested */ | |||||
1090 | DISSECTOR_ASSERT_NOT_REACHED(); | |||||
1091 | ||||||
1092 | if(nbytes < 2)
| |||||
1093 | return FALSE; | |||||
1094 | ||||||
1095 | hdr &= 0xffff; | |||||
1096 | /* don't interpret a repeated hdlc as a header */ | |||||
1097 | if(hdr == 0xE14D) | |||||
1098 | return FALSE; | |||||
1099 | ||||||
1100 | /* + 1 byte of header and 2 bytes of closing HDLC */ | |||||
1101 | *minlen = (guint8)((hdr >> 12) & 0xff) + 3; | |||||
1102 | return TRUE; | |||||
1103 | } | |||||
![]() |