View | Details | Raw Unified | Return to bug 239516 | Differences between
and this patch

Collapse All | Expand All

(-)libdwarf_frame.c (+7 lines)
Lines 458-463 Link Here
458
458
459
	offset = 0;
459
	offset = 0;
460
	while (offset < ds->ds_size) {
460
	while (offset < ds->ds_size) {
461
		/* 
462
		  If the size of the section is greater than 0 and its type is 
463
		  NOBITS, then ds_data is NULL and this function should 
464
		  never have been called.
465
		*/
466
		assert(ds->ds_data != NULL);
467
461
		entry_off = offset;
468
		entry_off = offset;
462
		length = dbg->read(ds->ds_data, &offset, 4);
469
		length = dbg->read(ds->ds_data, &offset, 4);
463
		if (length == 0xffffffff) {
470
		if (length == 0xffffffff) {

Return to bug 239516