This is the mail archive of the libc-alpha@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]

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


On 13/10/14 16:02, Siddhesh Poyarekar wrote:
> On Mon, Oct 13, 2014 at 10:07:26AM +1000, Allan McRae wrote:
>> From: Bram <bug_rh@spam.wizbit.be>
>>
>> ---
>>
>> This patch was submitted to BZ#15378 over a year ago.  I have an Arch Linux
>> user running into this bug who confirms the patch fixes their issues.
>>
>> ChangeLog:
>>
>> 2014-10-xx  Bram  <bug_rh@spam.wizbit.be>
>>
>> 	[BZ #15378]
>> 	* elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
>> 	when none of the search directories exist.
> 
> Fix looks OK, but maybe you could add a test case as well.
> 

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?

Allan


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