This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12393] ld.so: insecure handling of privileged programs' RPATHs with $ORIGIN


http://sourceware.org/bugzilla/show_bug.cgi?id=12393

--- Comment #6 from Petr Baudis <pasky at suse dot cz> 2011-04-22 01:41:55 UTC ---
Created attachment 5684
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5684
proposed patch

Ok, here is a patch I'd propose instead of the Fedora patches (96611391 and the
two followups). It is a rather simple approach of reusing the existing logic
for checking against insecure paths in rpath. Am I missing something, is there
a case this mishandles?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]