Commit b7c58c38 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Bug 8315

2000-04-04  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_obj_read_biff8_obj) : Be more careful about when to
	  dump debug info when the stated record size disagrees with the
	  actual.
parent 8e481375
2000-04-04 Jody Goldberg <jgoldberg@home.com>
* ms-obj.c (ms_obj_read_biff8_obj) : Be more careful about when to
dump debug info when the stated record size disagrees with the
actual.
2000-03-24 Jody Goldberg <jgoldberg@home.com>
* *.[ch] : Update copywrite years.
......
......@@ -546,11 +546,13 @@ ms_obj_read_biff8_obj (BiffQuery *q, ExcelWorkbook * wb, Sheet * sheet, MSObj *
}
/* The ftEnd record should have been the last */
if (data_len_left != 0) {
if (data_len_left > 0) {
printf("OBJ : unexpected extra data after Object End record;\n");
ms_ole_dump (data, data_len_left);
return TRUE;
}
/* Catch underflow too */
g_return_val_if_fail (data_len_left == 0, TRUE);
/* FIXME : Throw away the IMDATA that may follow.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment