size_t less than zero comparison
--------------------------------
Key: AXIS2C-1238
URL: https://issues.apache.org/jira/browse/AXIS2C-1238
Project: Axis2-C
Issue Type: Bug
Components: guththila
Affects Versions: 1.4.0
Environment: Linux Suse9, x86
Reporter: Leonardo Kausilas
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]