axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandika Jayawardana (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-1167) potential invalid read in axis2_http_header_create_by_str
Date Tue, 03 Jun 2008 08:36:44 GMT

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


Mime
View raw message