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 "Unai Uribarri (JIRA)" <ax...@ws.apache.org> on 2004/12/30 11:48:03 UTC

[jira] Created: (AXISCPP-344) Document style: SIGSEGV deserializing an string of 1 or 2 bytes

Document style: SIGSEGV deserializing an string of 1 or 2 bytes 
----------------------------------------------------------------

         Key: AXISCPP-344
         URL: http://nagoya.apache.org/jira/browse/AXISCPP-344
     Project: Axis-C++
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.4 Final    
 Environment: RedHat9
    Reporter: Unai Uribarri
 Attachments: SoapDeSerializer.cpp.diff, provision.wsdl

The stubs generated by the attached wsdl call SoapDeSerializer::getElementAsString with a NULL namespace, and causes an SIGSEGV when the string contains 1 or 2 bytes.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-344) Document style: SIGSEGV deserializing an string of 1 or 2 bytes

Posted by "Unai Uribarri (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-344?page=history ]

Unai Uribarri updated AXISCPP-344:
----------------------------------

    Attachment: provision.wsdl

wsdl used to generate the stubs

> Document style: SIGSEGV deserializing an string of 1 or 2 bytes
> ---------------------------------------------------------------
>
>          Key: AXISCPP-344
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-344
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.4 Final
>  Environment: RedHat9
>     Reporter: Unai Uribarri
>  Attachments: SoapDeSerializer.cpp.diff, provision.wsdl
>
> The stubs generated by the attached wsdl call SoapDeSerializer::getElementAsString with a NULL namespace, and causes an SIGSEGV when the string contains 1 or 2 bytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-344) Document style: SIGSEGV deserializing an string of 1 or 2 bytes

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-344?page=history ]
     
Samisa Abeysinghe resolved AXISCPP-344:
---------------------------------------

     Resolution: Fixed
    Fix Version: 1.5 Final

Going through the code, I found that the code has been fixed somewhat similar to the given patch. (May be someone else found the same problem)

I tested with cut doen version of doclitbase sample with one caracter echoString and found no problem.

I could generate the source for the given WSDL but cannot test using it as I have no service for it. However, doclitbase too calls getElementAsString with NULL namespace. Hence my test was quite similar to the situation mentioned here.

> Document style: SIGSEGV deserializing an string of 1 or 2 bytes
> ---------------------------------------------------------------
>
>          Key: AXISCPP-344
>          URL: http://issues.apache.org/jira/browse/AXISCPP-344
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization
>     Versions: 1.4 Final
>  Environment: RedHat9
>     Reporter: Unai Uribarri
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Final
>  Attachments: SoapDeSerializer.cpp.diff, provision.wsdl
>
> The stubs generated by the attached wsdl call SoapDeSerializer::getElementAsString with a NULL namespace, and causes an SIGSEGV when the string contains 1 or 2 bytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXISCPP-344) Document style: SIGSEGV deserializing an string of 1 or 2 bytes

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-344?page=history ]

Samisa Abeysinghe reassigned AXISCPP-344:
-----------------------------------------

    Assign To: Samisa Abeysinghe

> Document style: SIGSEGV deserializing an string of 1 or 2 bytes
> ---------------------------------------------------------------
>
>          Key: AXISCPP-344
>          URL: http://issues.apache.org/jira/browse/AXISCPP-344
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization
>     Versions: 1.4 Final
>  Environment: RedHat9
>     Reporter: Unai Uribarri
>     Assignee: Samisa Abeysinghe
>  Attachments: SoapDeSerializer.cpp.diff, provision.wsdl
>
> The stubs generated by the attached wsdl call SoapDeSerializer::getElementAsString with a NULL namespace, and causes an SIGSEGV when the string contains 1 or 2 bytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-344) Document style: SIGSEGV deserializing an string of 1 or 2 bytes

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-344?page=all ]
     
Fred Preston closed AXISCPP-344:
--------------------------------


> Document style: SIGSEGV deserializing an string of 1 or 2 bytes
> ---------------------------------------------------------------
>
>          Key: AXISCPP-344
>          URL: http://issues.apache.org/jira/browse/AXISCPP-344
>      Project: Axis-C++
>         Type: Bug

>   Components: Serialization
>     Versions: 1.4 Final
>  Environment: RedHat9
>     Reporter: Unai Uribarri
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Final
>  Attachments: SoapDeSerializer.cpp.diff, provision.wsdl
>
> The stubs generated by the attached wsdl call SoapDeSerializer::getElementAsString with a NULL namespace, and causes an SIGSEGV when the string contains 1 or 2 bytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-344) Document style: SIGSEGV deserializing an string of 1 or 2 bytes

Posted by "Unai Uribarri (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-344?page=history ]

Unai Uribarri updated AXISCPP-344:
----------------------------------

    Attachment: SoapDeSerializer.cpp.diff

Fix for the bug

> Document style: SIGSEGV deserializing an string of 1 or 2 bytes
> ---------------------------------------------------------------
>
>          Key: AXISCPP-344
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-344
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.4 Final
>  Environment: RedHat9
>     Reporter: Unai Uribarri
>  Attachments: SoapDeSerializer.cpp.diff, provision.wsdl
>
> The stubs generated by the attached wsdl call SoapDeSerializer::getElementAsString with a NULL namespace, and causes an SIGSEGV when the string contains 1 or 2 bytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira