Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3255

StreamRendererServlet makes incorrect assumptions about BufferedInputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Get 2.1.4
    • Servlets Get 2.1.6
    • Servlets
    • None

    Description

      The class (with code apparently borrowed from Tomcat) assumes that BufferedInputStream.read(...) always fills the requested buffer, even if the BIS does not make such a guarantee.

      See OAK-956 for related discussion.

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              jukkaz Jukka Zitting
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: