axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <>
Subject [jira] Reopened: (AXIS2C-985) There's a leak due to wrong token create
Date Thu, 14 Feb 2008 07:05:08 GMT


Senaka Fernando reopened AXIS2C-985:

Hi Dinesh,

There seems to be an issue in the provided patch. tok->start = start is wrong. What if
someone frees the parameters passed after calling this method. Won't we lead into a dangling
pointer situation. tok->start = strdup(start) is the proper way i guess. And, that is what
was happening with some of the replaced code. I think


> There's a leak due to wrong token create 
> -----------------------------------------
>                 Key: AXIS2C-985
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Ubuntu 7.10
>            Reporter: Lahiru Gunathilake
>            Assignee: Dinesh Premalal
>             Fix For: 1.3.0
>         Attachments: diff_leak_fix.txt
> There's  a wrong token creation in guththila_init method and it cause a memory leak.

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:
For additional commands, e-mail:

View raw message