GNOME Bugzilla – Bug 705099
Heap-buffer-overflow on saving a fuzzed ods file
Last modified: 2013-07-30 18:07:47 UTC
Heap-buffer-overflow on saving a fuzzed ods file. Heap-buffer-overflow detected by AddressSanitizer. Git versions of glib, goffice, gnumeric, libgsf and libxml2. Test case: http://jutaky.com/fuzzing/gnumeric_case_10010_5840.2ods.ods Backtrace from "ssconvert gnumeric_case_10010_5840.2ods.ods /tmp/out.ods" Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7560269 in go_format_as_XL (fmt=0x7466656c2d6b74) at utils/go-format.c:6013 6013 return fmt->format; (gdb) bt
+ Trace 232312
-- Juha Kylmänen Research Assistant, OUSPG
This does not look like it has anything to do with fuzzing. We have the format "[>0]d-mmm-yy" We seem to write the condition and the xml for d-mmm-yy fine and then try to write a format for a NULL fmt.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. (The fix is in goffice.)