Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
None
-
Linux Suse9, x86
Description
In function guththila_next_char (guththila/src/guththila_xml_parser.c), the result value from guththila_reader_read is stored in a size_t temp var and then is compared to greater than zero (line 1598), but size_t is unsigned in ansi C. Therefore, -1 condition is never true and a core dump occurs. If the result value of guththila_reader_read is stored in a int var, the bug is fixed.