axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Klimenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5492) Infinite loop in JSONOMBuilder if URL parameter is not valid JSON
Date Fri, 01 Mar 2013 01:16:11 GMT
Alexey Klimenko created AXIS2-5492:
--------------------------------------

             Summary: Infinite loop in JSONOMBuilder if URL parameter is not valid JSON 
                 Key: AXIS2-5492
                 URL: https://issues.apache.org/jira/browse/AXIS2-5492
             Project: Axis2
          Issue Type: Bug
          Components: json
    Affects Versions: 1.6.1
         Environment: Mac OS Mountain Lion, JRE 1.6
            Reporter: Alexey Klimenko
            Priority: Minor


When making a REST call with Content-Type="application.json". the builder expects to have
request body for GET requests (which is limiting on its own).
If parameters in URL are specified not in JSON format {'x':'y'} but as query parameters like
?x=y (which is expected for most REST services with URL templates) a loop at line 119  becomes
infinite as condition is:  while (temp != ':') 
At least add condition to check end of reader.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message