You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dimuthu Gamage (JIRA)" <ji...@apache.org> on 2007/11/09 10:18:51 UTC

[jira] Commented: (AXIS2C-755) Codegen segmentation fault when null value is passed

    [ https://issues.apache.org/jira/browse/AXIS2C-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541268 ] 

Dimuthu Gamage commented on AXIS2C-755:
---------------------------------------

Fixed in the current java svn. Commit 593418

> Codegen segmentation fault when null value is passed 
> -----------------------------------------------------
>
>                 Key: AXIS2C-755
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-755
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>         Environment: Ubuntu
>            Reporter: Lahiru Gunathilake
>            Priority: Minor
>
> I used Axis2c codegen tool to generate test services and when i'm sending bigger xml file to the service client get timeout then xml stream breaks before sending whole xml file.So there's a null value when axiom get text elements one by one.But generated code doesn't check the null value then this cause a segmentation fault when it pass a null value to atof() method.

-- 
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


Re: [jira] Commented: (AXIS2C-755) Codegen segmentation fault when null value is passed

Posted by Samisa Abeysinghe <sa...@gmail.com>.
When you apply the patch, please resolve the issue.

Thanks,
Samissa...

Dimuthu Gamage (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/AXIS2C-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541268 ] 
>
> Dimuthu Gamage commented on AXIS2C-755:
> ---------------------------------------
>
> Fixed in the current java svn. Commit 593418
>
>   
>> Codegen segmentation fault when null value is passed 
>> -----------------------------------------------------
>>
>>                 Key: AXIS2C-755
>>                 URL: https://issues.apache.org/jira/browse/AXIS2C-755
>>             Project: Axis2-C
>>          Issue Type: Bug
>>          Components: build system (Unix/Linux)
>>    Affects Versions: Current (Nightly)
>>         Environment: Ubuntu
>>            Reporter: Lahiru Gunathilake
>>            Priority: Minor
>>
>> I used Axis2c codegen tool to generate test services and when i'm sending bigger xml file to the service client get timeout then xml stream breaks before sending whole xml file.So there's a null value when axiom get text elements one by one.But generated code doesn't check the null value then this cause a segmentation fault when it pass a null value to atof() method.
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org