Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Not protected against infinite include chain

Open
#160 0 comments 0 reactions 1 assignee View on GitHub

@flexferrum is already working on this.

Since Oct 11, 2019.

Assessment

This issue has not been assessed yet.

Description

bug

It's feasible to craft a template whose processing is able to hang the main program.
It will be nice to set an upper limit on the depth of the include chain.
For example: {% include "myself.tpl" %}

Dominant language
C++
Stars
600
Forks
114
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jinja2cpp/Jinja2Cpp

All issues in jinja2cpp/Jinja2Cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.