From 900f59f084bfe35cb389bbe0dc464413a1a38e90 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 Apr 2016 18:38:56 -0400 Subject: 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. --- localedata/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'localedata') diff --git a/localedata/ChangeLog b/localedata/ChangeLog index c51e6fcf56..6fbd63d6d1 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2016-04-15 Mike Frysinger + + * locale/programs/ld-identification.c (identification_finish): Check + that the values in identification->category are only known. + 2016-04-15 Mike Frysinger * locales/aa_DJ (LC_IDENTIFICATION): Change all category fields to -- cgit 1.4.1