Files
glib/glib/gstring.h
Tobias Stoeckmann 3752760c50 gstring: Improve g_string_append_len_inline checks
Use the same style for the G_LIKELY check here as in g_string_sized_new.
The check could overflow on 32 bit systems.

Also improve the memcpy/memmove check to use memcpy if val itself is
adjacent to end + len_unsigned, which means that no overlapping exists.
2025-07-08 14:30:38 +02:00

12 KiB