mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-13 11:58:30 +01:00
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.
12 KiB
12 KiB