Skip to content

Commit

Permalink
[BZ #2683]
Browse files Browse the repository at this point in the history
2006-05-24  Ulrich Drepper  <drepper@redhat.com>
	[BZ #2683]
	* elf/dl-addr.c (_dl_addr): Don't match undefined references.
  • Loading branch information
Ulrich Drepper committed May 24, 2006
1 parent 062e719 commit aec6b24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2006-05-24 Ulrich Drepper <drepper@redhat.com>

[BZ #2683]
* elf/dl-addr.c (_dl_addr): Don't match undefined references.

2006-05-23 Ulrich Drepper <drepper@redhat.com>

* nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of
Expand Down
3 changes: 2 additions & 1 deletion elf/dl-addr.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Locate the shared object symbol nearest a given address.
Copyright (C) 1996-2004, 2005 Free Software Foundation, Inc.
Copyright (C) 1996-2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -92,6 +92,7 @@ _dl_addr (const void *address, Dl_info *info,
#if defined USE_TLS
&& ELFW(ST_TYPE) (symtab->st_info) != STT_TLS
#endif
&& symtab->st_shndx != SHN_UNDEF
&& DL_ADDR_SYM_MATCH (match, symtab, matchsym, addr)
&& symtab->st_name < strtabsize)
matchsym = (ElfW(Sym) *) symtab;
Expand Down

0 comments on commit aec6b24

Please sign in to comment.