Negative Character Value at packet-http.c:2034 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
process_header (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-http.c)![]() | ||||||
![]() | ||||||
2024 | * the subtype from | |||||
2025 | * a parameter. | |||||
2026 | */ | |||||
2027 | break; | |||||
2028 | } | |||||
2029 | ||||||
2030 | /* | |||||
2031 | * Map the character to lower case; | |||||
2032 | * content types are case-insensitive. | |||||
2033 | */ | |||||
2034 | eh_ptr->content_type[i] = tolower(eh_ptr->content_type[i]);
| |||||
2035 | } | |||||
2036 | eh_ptr->content_type[i] = '\0'; | |||||
2037 | /* | |||||
2038 | * Now find the start of the optional parameters; | |||||
2039 | * skip the optional white space and the semicolon | |||||
2040 | * if this has not been done before. | |||||
2041 | */ | |||||
2042 | i++; | |||||
2043 | while (i < value_len) { | |||||
2044 | c = eh_ptr->content_type[i]; | |||||
![]() |