Negative Character Value at dfunctions.c:44 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
string_ascii_to_lower (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dfilter/dfunctions.c)![]() | ||||||
![]() | ||||||
34 | ||||||
35 | #include <ftypes/ftypes.h> | |||||
36 | #include <epan/exceptions.h> | |||||
37 | #include <epan/emem.h> | |||||
38 | ||||||
39 | /* lowercase an ASCII character. | |||||
40 | * (thanks to Guy Harris for the function) */ | |||||
41 | static gchar | |||||
42 | string_ascii_to_lower(gchar c) | |||||
43 | { | |||||
44 | return ((c & 0x80) ? c : tolower(c));
| |||||
45 | } | |||||
46 | ||||||
47 | /* uppercase an ASCII character. */ | |||||
48 | static gchar | |||||
49 | string_ascii_to_upper(gchar c) | |||||
50 | { | |||||
51 | return ((c & 0x80) ? c : toupper(c)); | |||||
52 | } | |||||
53 | ||||||
54 | ||||||
![]() |