[PATCH] * elf/dl-load.c (open_path): avoid writing to 'env_path_list' when none of the search directories exist.

Siddhesh Poyarekar siddhesh@redhat.com
Thu Jan 22 06:40:00 GMT 2015


On Wed, 31 Dec 2014 15:23:29 +0530
Siddhesh Poyarekar <siddhesh@redhat.com> wrote:

> On Thu, Dec 18, 2014 at 01:13:03PM +1000, Allan McRae wrote:
> > I have come to the conclusion that I have no idea how to write a
> > test case for this issue.   Can anyone point me in the right
> > direction?
> 
> The bug report seems to have steps to reproduce the problem.  Is it
> not possible to use them to write a test case?

I gave this a shot and it looks fairly difficult to incorporate the
test into the testsuite.  The test needs a custom rpath as well as to
be invoked with a custom --library-path that points to a non-existent
directory.  Such a change is not suitable for the freeze and I don't
think it is worth blocking for this fix either.  I'm OK with this patch
going in without a test.

Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150122/b52f98ea/attachment.sig>


More information about the Libc-alpha mailing list