gettext
db30cffd - xgettext: C: Fix undefined behaviour.

Commit
103 days ago
xgettext: C: Fix undefined behaviour. * gettext-tools/src/x-c.c (phase7_getc): Declare n as 'unsigned int', to avoid signed integer overflow. * gettext-tools/tests/xg-c-escape-3.c: Add two more test cases. * gettext-tools/tests/xgettext-c-escape-3: Update expected test result.
Author
Committer
Parents
Loading