about summary refs log tree commit diff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-25 18:22:06 +0000
committerRoland McGrath <roland@gnu.org>1996-06-25 18:22:06 +0000
commit622586fbe088fbd0cca0533a046e65114c584526 (patch)
treea4f9cedd81e45b312fd057d9e92039c6895a5519 /elf/dl-load.c
parenta4242e25dcf614b1eeb827e96d6d3c9f503f519d (diff)
downloadglibc-622586fbe088fbd0cca0533a046e65114c584526.tar.gz
glibc-622586fbe088fbd0cca0533a046e65114c584526.tar.xz
glibc-622586fbe088fbd0cca0533a046e65114c584526.zip
Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* inet/getrpcent.c: Fix macros.
	* inet/getrpcent_r.c: Fix macros.

	* elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.

	* elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index f01bdad525..c19ebe722e 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -70,7 +70,7 @@ struct link_map *
 _dl_map_object_from_fd (const char *name, int fd, char *realname,
 			struct link_map *loader, int l_type)
 {
-  struct link_map *l;
+  struct link_map *l = NULL;
   void *file_mapping = NULL;
   size_t mapping_size = 0;