diff options
author | norly <ny-git@enpas.org> | 2013-06-24 04:16:05 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-24 04:16:53 +0100 |
commit | aed0b96a86dd43852cf92897c9573c5640c21af4 (patch) | |
tree | 34d6b0b9299e207a21a3e9970812d8cb94bb82f6 /src/libelfu/modelops/fromFile.c | |
parent | 13880cbd8560fe9c7a93f73071d65761d68c5eea (diff) |
Remove assertion that breaks with Red Hat's libelfmorephdr
Diffstat (limited to 'src/libelfu/modelops/fromFile.c')
-rw-r--r-- | src/libelfu/modelops/fromFile.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libelfu/modelops/fromFile.c b/src/libelfu/modelops/fromFile.c index 3443165..2b47be0 100644 --- a/src/libelfu/modelops/fromFile.c +++ b/src/libelfu/modelops/fromFile.c @@ -252,9 +252,6 @@ static ElfuScn* modelFromSection(Elf_Scn *scn) data = elf_rawdata(scn, NULL); assert(data); - /* elf_rawdata() always returns ELF_T_BYTE */ - assert(data->d_type == ELF_T_BYTE); - while (data) { if (data->d_off + data->d_size > ms->shdr.sh_size) { ELFU_WARN("modelFromSection: libelf delivered a bogus data blob. Skipping\n"); |