]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Fix endless loop in shell parser.
authorBruno Haible <bruno@clisp.org>
Sun, 18 Aug 2019 23:02:26 +0000 (01:02 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 11:06:10 +0000 (13:06 +0200)
commit58de220065d79f854e69850a8f5454ac12085e3e
tree5a94ef3ec8b0a1c2ea5bd1e9c1e3744a186e925f
parentd1858b32c585bc7507d649b2e4d303095f4188f1
xgettext: Fix endless loop in shell parser.

Reported by Hanno Boeck at <https://savannah.gnu.org/bugs/?45408>.
Based on patch by Daiki Ueno.

* gettext-tools/src/x-sh.c (read_word): React on CLOSING_BACKQUOTE even when we
are currently not looking for a closing backquote.
gettext-tools/src/x-sh.c