]> 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>
Sun, 18 Aug 2019 23:02:26 +0000 (01:02 +0200)
commit1d3a5bf83836de4ea6c7e7acc89acdfd12d9a553
treec859775fd61673c130f21279dfff9e848e79b320
parent14389a3f0068c0aaa9ca9454b9df0ead875cbd84
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