aboutsummaryrefslogtreecommitdiff
path: root/localedata
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-13 18:38:56 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-15 12:44:05 -0400
commit900f59f084bfe35cb389bbe0dc464413a1a38e90 (patch)
tree89c356ac80f3f52c9e9cd87bc1450836ead9db27 /localedata
parent1a06eee86989d7058d317f3643355f8ec5e87efb (diff)
downloadglibc-900f59f084bfe35cb389bbe0dc464413a1a38e90.tar
glibc-900f59f084bfe35cb389bbe0dc464413a1a38e90.tar.gz
glibc-900f59f084bfe35cb389bbe0dc464413a1a38e90.tar.bz2
glibc-900f59f084bfe35cb389bbe0dc464413a1a38e90.zip
localedef: check LC_IDENTIFICATION.category values
Currently localedef accepts any value for the category keyword. This has allowed bad values to propagate to the vast majority of locales (~90%). Add some logic to only accept a few standards.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index c51e6fcf56..6fbd63d6d1 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,5 +1,10 @@
2016-04-15 Mike Frysinger <vapier@gentoo.org>
+ * locale/programs/ld-identification.c (identification_finish): Check
+ that the values in identification->category are only known.
+
+2016-04-15 Mike Frysinger <vapier@gentoo.org>
+
* locales/aa_DJ (LC_IDENTIFICATION): Change all category fields to
use i18n:2012.
* locales/aa_ER: Likewise.