[PATCH] D25327: [ELF] - Do not crash on invalid size of dynamic section.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 11:11:19 PDT 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



> InputFiles.cpp:524
> +      check(Obj.template getSectionContentsAsArray<Elf_Dyn>(DynamicSec),
> +            getFilename(this));
> +  for (const Elf_Dyn &Dyn : Arr) {

getFilename(this) + ": getSectionContentsAsArray failed"

https://reviews.llvm.org/D25327





More information about the llvm-commits mailing list