Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Nov 2018 17:03:14 +0100
From: Julien Ramseier <>
Subject: [PATCH] setlocale: wrong var passed to __get_locale

This was introduced by commit d88e5dfa8b989dafff4b748bfb3cba3512c8482e

diff --git a/src/locale/setlocale.c b/src/locale/setlocale.c
index 637e7aa0..2bc7b500 100644
--- a/src/locale/setlocale.c
+++ b/src/locale/setlocale.c
@@ -34,7 +34,7 @@ char *setlocale(int cat, const char *name)
 					part[z-p] = 0;
 					if (*z) p = z+1;
-				lm = __get_locale(i, name);
+				lm = __get_locale(i, part);
 				if (lm == LOC_MAP_FAILED) {
 					return 0;

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.