Change #264038
| Category | ggettext |
| Changed by | Bruno Haible <bruno@clisp.org> |
| Changed at | Thu 09 Apr 2026 00:59:08 |
| Repository | git://git.savannah.gnu.org/gettext.git |
| Project | ggettext |
| Branch | master |
| Revision | 2ebbdd0e298460691380845af53ff21c55e3c1c5 |
Comments
intl: Fix an ISO C undefined behaviour. ISO C 23 ยง 6.5.7.(10) has requirements for pointer subtraction. Reported by <pizlonator> in https://github.com/pizlonator/fil-c/. * gettext-runtime/intl/localealias.c (read_alias_file): Avoid invalid pointer subtraction.
Changed files
- gettext-runtime/intl/localealias.c