This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: tst-setlocale3 failure when backported to glibc-2.19
- From: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- To: Allan McRae <mcrae_allan at hotmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, fweimer at redhat dot com
- Date: Thu, 28 Aug 2014 17:40:48 +0530
- Subject: Re: tst-setlocale3 failure when backported to glibc-2.19
- Authentication-results: sourceware.org; auth=none
- References: <53FF1B90 dot 7080708 at hotmail dot com>
On 28 August 2014 17:37, Allan McRae <mcrae_allan@hotmail.com> wrote:
> I am trying to backport the fix for CVE-2014-0475/BZ#17137 (directory
> traversal in locale-related environment variables) to glibc-2.19. See
> the allan/2.19/backport branch (which I intend to merge to the 2.19
> release branch soon).
>
> However, the added test with this fix - tst-setlocale3 - is failing:
>
> $ cat glibc-build/localedata/tst-setlocale3.out
> setlocale for "/en_US.UTF-8": No such file or directory
>
> I do not see this for the master branch. Is there something else I need
> to backport for this to work, or is my backport broken for other reasons?
You need to backport the patch that sets LOCPATH for all tests:
commit 2bf1804182cc4bd671193587c8d5e3de45a9618e
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Jun 4 23:37:25 2014 +0000
Include LOCPATH in default test environment.
Siddhesh
--
http://siddhesh.in