Bug 738

Summary: RELRO crash when no standard library search dirs exist
Product: glibc Reporter: Roland McGrath <roland>
Component: libcAssignee: Roland McGrath <roland>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: 2.3.4   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 724    

Description Roland McGrath 2005-02-16 04:47:25 UTC
This trunk change is needed on the 2.3 branch.

2005-01-07  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
	avoid writing to it if none of the standard search directories exist.
Comment 1 Sourceware Commits 2005-02-16 11:19:23 UTC
Subject: Bug 738

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-16 11:18:44

Modified files:
	elf            : dl-load.c 

Log message:
	2005-01-07  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #738]
	* elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
	avoid writing to it if none of the standard search directories exist.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/dl-load.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.254&r2=1.254.2.1

Comment 2 Roland McGrath 2005-04-05 23:59:33 UTC
These changes are in the 2.3 branch as well as the trunk now.