[
https://issues.apache.org/jira/browse/AXIS2C-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandika Jayawardana resolved AXIS2C-1167.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4.1
check added to test the lengh of the string.
> potential invalid read in axis2_http_header_create_by_str
> ---------------------------------------------------------
>
> Key: AXIS2C-1167
> URL: https://issues.apache.org/jira/browse/AXIS2C-1167
> Project: Axis2-C
> Issue Type: Bug
> Components: transport/http
> Affects Versions: 1.4.0
> Environment: linux fc6
> Reporter: Frederic Heem
> Assignee: Nandika Jayawardana
> Priority: Minor
> Fix For: 1.4.1
>
>
> In the function axis2_http_header_create_by_str() at line 74, if the length
> of the variable tmp_str is less than 2, "axutil_strlen(tmp_str) - 2" becomes
> negative so tmp_str[axutil_strlen(tmp_str) - 2] points to somewhere it
> shouldn't
--
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]