GNOME Bugzilla – Bug 662497
Condition "ptr + n == end" failed in excel_read_LABEL_markup.
Last modified: 2014-02-26 16:05:26 UTC
The xls file attached to bug #425685 is supposed to have a subscript in A1. This fails to import and we have in current git as well as 1.10.13: (gnumeric:20009): gnumeric:read-WARNING **: File is most likely corrupted. (Condition "ptr + n == end" failed in excel_read_LABEL_markup.)
Note that LibreOffice open this file fine.
Breakpoint 1, excel_read_LABEL_markup (q=0xb5eae1a0, esheet=0xb5ebf0f8, str=0x8837b00 "ldb (tension)", str_len=13) at ms-excel-read.c:1197 1197 XL_CHECK_CONDITION_VAL (ptr + n == end , NULL); (gdb) p (void *)ptr $3 = (void *) 0xb5eadeb1 (gdb) p (void *)end $4 = (void *) 0xb5eadeb6 (gdb) p n $5 = 1188 (gdb)
This appears to be working now. Agree?
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.