gettext/gettext-runtime
Bruno Haible 6954290401 intl: Fix undefined behaviour.
Found using clang's undefined-behaviour sanitizer:
CC="clang -fsanitize=undefined -fno-sanitize-recover=undefined".
It reported errors
dcigettext.c:1219:25: runtime error: applying non-zero offset 8 to null pointer
because the code was computing
    outbuf = freemem + sizeof (size_t);
where freemem == NULL.

* gettext-runtime/intl/dcigettext.c (_nl_find_msg): Initialize outbuf only after
having verified that freemem_size >= sizeof (size_t).
2025-01-29 12:30:02 +01:00
..
2024-12-01 10:39:52 +01:00
2025-01-29 12:30:02 +01:00
2024-10-09 04:06:47 +02:00
2024-11-19 19:18:44 +01:00
2025-01-02 14:12:12 +01:00
2015-10-14 15:00:09 +09:00
2012-02-18 22:28:04 +01:00
2018-01-27 14:25:04 +01:00
2024-12-01 10:39:52 +01:00

This directory contains the runtime parts of GNU gettext, namely the libraries
for the end user, but neither documentation nor programs for the translator
or the maintainer.