Unreachable Data Flow at packet-cigi.c:6401 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
tvb_get_fixed_point (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-cigi.c)![]() | ||||||
![]() | ||||||
6385 | tvb_get_fixed_point(tvbuff_t *tvb, int offset, gint byte_order) | |||||
6386 | { | |||||
6387 | gint16 fixed; | |||||
6388 | ||||||
6389 | switch (byte_order) { | |||||
6390 | ||||||
6391 | case CIGI_BYTE_ORDER_BIG_ENDIAN: | |||||
6392 | fixed = tvb_get_ntohs(tvb, offset); | |||||
6393 | break; | |||||
6394 | ||||||
6395 | case CIGI_BYTE_ORDER_LITTLE_ENDIAN: | |||||
6396 | fixed = tvb_get_letohs(tvb, offset); | |||||
6397 | break; | |||||
6398 | ||||||
6399 | default: | |||||
6400 | DISSECTOR_ASSERT_NOT_REACHED(); | |||||
6401 | fixed = 0;
| |||||
6402 | } | |||||
6403 | return fixed / 128.0F; | |||||
6404 | } | |||||
![]() |