Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8166685

We should unpin stream and pixel buffer in case of setjmp during writeImage in JPEG.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b140
    • CPU:
      generic
    • OS:
      generic

      Description

      As part of fix for JDK-8162461 we removed RELEASE_ARRAYS() call in imageioJPEG.c for setjmp case.

      But RELEASE_ARRAYS should be there in setjmp as we can reach setjmp from any point during write as it is a non-local jump.

        Attachments

          Activity

            People

            Assignee:
            jdv Jayathirth D V
            Reporter:
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: