Uploaded image for project: 'Apache Freemarker'
  1. Apache Freemarker
  2. FREEMARKER-215

a specially constructed ftl will cause freemarker hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.31
    • None
    • engine
    • None

    Description

      A specially constructed ftl will cause freemarker hang and the program will never stop.

                  Configuration config = new Configuration();
                  TemplateLoader templateLoader = new FileTemplateLoader(new File("/tmp/"));
                  config.setTemplateLoader(templateLoader);
                  Template template = config.getTemplate("file1.ftl");

      See file1.ftl in attachment.

       

      Attachments

        1. file1.ftl
          0.1 kB
          dwadw

        Activity

          People

            Unassigned Unassigned
            dwadw dwadw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: