oss-sec mailing list archives
Re: Breaking the links: Exploiting the linker
From: Ralf Wildenhues <Ralf.Wildenhues () gmx de>
Date: Thu, 16 Dec 2010 17:00:57 +0000 (UTC)
Hello Tim, all, Tim Brown <timb@...> writes:
In the interests of a thorough peer review I'd be curious what people think of the following paper I've been working on Linux and POSIX linkers: http://www.nth-dimension.org.uk/downloads.php?id=77
Replacing
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dir/name
with
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-/dir/name}
changes semantics in a way that are not generally desirable: if I want to
append a directory to the search path, then the latter is not the way to
do it (because it doesn't change the path if the variable is already set).
Rather, I think you meant
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-$LD_LIBRARY_PATH:}/dir/name
(no quotes are needed on the right hand side of the '=' sign, as the shell
doesn't word-split there).
On page 5, the footnotes have several markup errors resulting in weird PDF
output.
I suggest using the url package for nicer URL typesetting (in case you're
writing this with LaTeX) and the hyperref package with
\hypersetup{pdfborder={0 0 0}} for decent clickable links.
So much for a quick look.
Cheers,
Ralf
Current thread:
- Breaking the links: Exploiting the linker Tim Brown (Dec 14)
- Re: Breaking the links: Exploiting the linker Tomas Hoger (Dec 15)
- Re: Breaking the links: Exploiting the linker Justin Ossevoort (Dec 15)
- Re: Breaking the links: Exploiting the linker Tim Brown (Dec 16)
- Re: Breaking the links: Exploiting the linker Ralf Wildenhues (Dec 16)
- Re: Re: Breaking the links: Exploiting the linker Tim Brown (Dec 16)
- Re: Breaking the links: Exploiting the linker Jamie Nguyen (Dec 22)
- Re: Re: Breaking the links: Exploiting the linker Tim Brown (Dec 22)
- Re: Breaking the links: Exploiting the linker Jamie Nguyen (Dec 22)
- Re: Re: Breaking the links: Exploiting the linker Tim Brown (Dec 22)
- Re: Breaking the links: Exploiting the linker Tomas Hoger (Dec 15)
