]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Perl: Add test against unbounded nesting_depth growth.
authorBruno Haible <bruno@clisp.org>
Mon, 18 Sep 2023 18:26:48 +0000 (20:26 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 18 Sep 2023 18:26:48 +0000 (20:26 +0200)
commit93d9a3ccc90ff1f5504754c2c6d701dd009a6c80
tree48e03ee6d3a09dce0508c1f9439b5b602682cc3b
parent0b731f300902a473bf052344174e77bf4c93861e
xgettext: Perl: Add test against unbounded nesting_depth growth.

Reported by Gavin D. Smith <gavinsmith0123@gmail.com> at
<https://lists.gnu.org/archive/html/bug-gettext/2023-07/msg00008.html>
and <https://savannah.gnu.org/bugs/?64552>.

* gettext-tools/tests/xgettext-perl-stackovfl-5: New file.
* gettext-tools/tests/testdata/xg-pl-so-5.pl: New file, taken from
https://git.savannah.gnu.org/gitweb/?p=texinfo.git;a=blob;f=tp/Texinfo/Convert/HTML.pm;hb=c8d9edd94d9b1a3e675e811208d9e66eaf9a7daa
* gettext-tools/tests/Makefile.am (TESTS): Add xgettext-perl-stackovfl-5.
(EXTRA_DIST): Add testdata/xg-pl-so-5.pl.
gettext-tools/tests/Makefile.am
gettext-tools/tests/testdata/xg-pl-so-5.pl [new file with mode: 0644]
gettext-tools/tests/xgettext-perl-stackovfl-5 [new file with mode: 0755]