Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6629

Restrict privileged operation in CreateXMLFile

    XMLWordPrintableJSON

    Details

      Description

      The PlanExporter tool has a public method CreateXMLFile.writeTheXMLFile(). This method opens a FileOutputStream in a privileged block. We should change this so that unprivileged code cannot use the method to write files using derbytools.jar's privileges.

        Attachments

        1. d6629-1a.diff
          24 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: