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

FREE_AND_RETURN_NULL target in readLoc() in zip_util.c is missing null check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.2
    • core-libs
    • tiger
    • generic
    • generic

        The code for FREE_AND_RETURN_NULL is missing a null check when ze is
        never initialized. It is currently dereferencing a null pointer to free one
        of it's fields. ###@###.###'s suggested fix for this problem and some
        additional changes to address a potential Thread.interrupt during class loaded
        are provided in the "Suggested Fix".

        -- iag@sfbay 2003-04-11

              martin Martin Buchholz
              iris Iris Clark
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: