GNOME Bugzilla – Bug 704560
Out-of-memory crash on a fuzzed gnumeric file
Last modified: 2013-07-20 23:47:48 UTC
Out-of-memory crash on a fuzzed gnumeric file. Git versions of glib, goffice, gnumeric, libgsf and libxml2. Test case: http://jutaky.com/fuzzing/gnumeric_case_32185_16033.gnumeric (/home/jutaky/fuzzing/apps/bin/gnumeric-1.12.5:32374): GLib-ERROR **: gmem.c:110: failed to allocate 18446744073709551615 bytes Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff3b4b071 in g_logv (log_domain=0x7ffff3bd24e1 "GLib", log_level=G_LOG_LEVEL_ERROR, format=0x7ffff3bd24c0 "%s: failed to allocate %lu bytes", args=0x7fffffffda68) at gmessages.c:989 989 G_BREAKPOINT (); (gdb) bt
+ Trace 232272
-- Juha Kylmänen Research Assistant, OUSPG
Yes lots of bytes:
+ Trace 232281
Fixed (by Jean). I just added an extra check.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.