Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288977
Collapse All | Expand All

(-)a/libelf/elf32_updatefile.c (-2 / +5 lines)
Lines 322-329 Link Here
322
322
323
	    if (last_position + written != scn_start + offset
323
	    if (last_position + written != scn_start + offset
324
		&& shdr_end < scn_start + offset)
324
		&& shdr_end < scn_start + offset)
325
	      memset (shdr_end, __libelf_fill_byte,
325
	      {
326
		      scn_start + offset - shdr_end);
326
		char *fill_start = MAX (shdr_end, scn_start);
327
		memset (fill_start, __libelf_fill_byte,
328
			scn_start + offset - fill_start);
329
	      }
327
	  }
330
	  }
328
331
329
	  if (scn->data_list_rear != NULL)
332
	  if (scn->data_list_rear != NULL)

Return to bug 288977