]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: In language C#, avoid a crash due to a too small buffer.
authorBruno Haible <bruno@clisp.org>
Sun, 12 Mar 2023 12:33:30 +0000 (13:33 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 14 Mar 2023 01:57:28 +0000 (02:57 +0100)
commit7886dcc16749f40243243a27e1a1e94d176e793d
tree70b789d89ec68fc252b6487aa355e03c2fda1a7b
parent3396633eb956e024589147031956b4b0392b3ba0
xgettext: In language C#, avoid a crash due to a too small buffer.

* gettext-tools/src/x-csharp.c (phase3_pushback): Increase size to 10.
* gettext-tools/tests/xgettext-csharp-9: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add it.
gettext-tools/src/x-csharp.c
gettext-tools/tests/Makefile.am
gettext-tools/tests/xgettext-csharp-9 [new file with mode: 0755]