mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 08:56:15 +01:00
gutf8: Skip ASan instrumentation for load_word
load_word has a known out-of-bounds read that is explained in
commit ec7cf334db
.
Helps: #3493
This commit is contained in:
parent
a429e56523
commit
5641770743
@ -1607,6 +1607,12 @@ load_u8 (gconstpointer memory,
|
|||||||
# define _attribute_aligned(n)
|
# define _attribute_aligned(n)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* See the HAVE_WORKING_IFUNC_ATTRIBUTE definition for an explanation of the
|
||||||
|
* no_sanitize_address annotation.
|
||||||
|
*/
|
||||||
|
#if g_macro__has_attribute(no_sanitize_address)
|
||||||
|
__attribute__((no_sanitize_address))
|
||||||
|
#endif
|
||||||
static inline gsize
|
static inline gsize
|
||||||
load_word (gconstpointer memory,
|
load_word (gconstpointer memory,
|
||||||
gsize offset)
|
gsize offset)
|
||||||
|
Loading…
Reference in New Issue
Block a user