diff options
author | Roland McGrath <roland@redhat.com> | 2009-04-14 02:38:19 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-04-14 02:38:19 -0700 |
commit | fa25326f44d65e0b1ee849cbd0da99c2808e1089 (patch) | |
tree | 3e69934d0198e6d0c2ce867df6fe248a24ffc765 /libdwfl/link_map.c | |
parent | 04a14163323bc4d2d335909a2af7259bc53ddf8b (diff) | |
download | elfutils-fa25326f44d65e0b1ee849cbd0da99c2808e1089.tar.gz |
Fix RHBZ#494858: fix bad address checks in core file support.
Diffstat (limited to 'libdwfl/link_map.c')
-rw-r--r-- | libdwfl/link_map.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libdwfl/link_map.c b/libdwfl/link_map.c index 30fb445a..2d4d75f1 100644 --- a/libdwfl/link_map.c +++ b/libdwfl/link_map.c @@ -585,7 +585,6 @@ consider_executable (Dwfl_Module *mod, GElf_Addr at_phdr, GElf_Addr at_entry, (*memory_callback) (mod->dwfl, -1, &buffer, &buffer_available, 0, 0, memory_callback_arg); - if (*elfclass == ELFCLASSNONE) *elfclass = ehdr.e_ident[EI_CLASS]; else if (*elfclass != ehdr.e_ident[EI_CLASS]) |