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

ZIP_Open_Generic should check for NULL

XMLWordPrintable

      if (pmsg != 0) {
              *pmsg = NULL;
          }
      ...
          if (zip == NULL && *pmsg == NULL) {

      pmsg can be passed in as NULL and then dereferenced.

            sherman Xueming Shen
            ahgross Andrew Gross
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: