Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 618004 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/readelf.c (-2 / +1 lines)
Lines 3263-3269 handle_gnu_hash (Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx) Link Here
3263
	    ++nsyms;
3263
	    ++nsyms;
3264
	    if (maxlength < ++lengths[cnt])
3264
	    if (maxlength < ++lengths[cnt])
3265
	      ++maxlength;
3265
	      ++maxlength;
3266
	    if (inner > max_nsyms)
3266
	    if (inner >= max_nsyms)
3267
	      goto invalid_data;
3267
	      goto invalid_data;
3268
	  }
3268
	  }
3269
	while ((chain[inner++] & 1) == 0);
3269
	while ((chain[inner++] & 1) == 0);
3270
- 

Return to bug 618004