axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-1238) size_t less than zero comparison
Date Tue, 22 Jul 2008 04:24:31 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Supun Kamburugamuva resolved AXIS2C-1238.
-----------------------------------------

    Resolution: Fixed

Fixed issue in the trunk.

> 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
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message