GNOME Bugzilla – Bug 789432
GHashTable tries to resize when size reaches 2^29
Last modified: 2017-10-25 09:37:06 UTC
When the hashtable size (nnodes) reaches 2^29 an integer overflow occurs in function g_hash_table_maybe_resize so that condition "size > hash_table->nnodes * 4" becomes true and g_hash_table_resize is called, requesting an absurd size of memory. e.g.: GLib-ERROR **: /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gmem.c:353: overflow allocating 18446744071562067968*8 bytes Trace/breakpoint trap
Duplicate of bug #694501. *** This bug has been marked as a duplicate of bug 694501 ***