[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1784) WSRP - Markup String / Binary handling - fail correctly

Dave Rowe (JIRA) jira-events at lists.jboss.org
Wed Nov 7 11:39:45 EST 2007


WSRP - Markup String / Binary handling - fail correctly
-------------------------------------------------------

                 Key: JBPORTAL-1784
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1784
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal WSRP
    Affects Versions: 2.6.2 Final
         Environment: Oracle OC4J 10.1.3.3.0, Jboss 2.6.2
            Reporter: Dave Rowe
         Assigned To: Chris Laprun


When JBoss checks the Markup response, it only checks if the byte array is not null.  It needs an additional check to validate that the length is greater than zero.  

This is in org.jboss.portal.wsrp.consumer.RenderHandler (line 102, as of rev. 7792).  Add in an additional check that binary.length > 0.

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

        



More information about the jboss-jira mailing list