[PATCH v2] localedef: check LC_IDENTIFICATION.category values
Carlos O'Donell
carlos@redhat.com
Fri Apr 15 04:44:00 GMT 2016
On 04/14/2016 05:21 PM, Mike Frysinger wrote:
> 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.
>
> 2016-04-13 Mike Frysinger <vapier@gentoo.org>
>
> * locale/programs/ld-identification.c (identification_finish): Check
> that the values in identification->category are only known.
> ---
> v2:
> - tweak list of accepted standards
OK if you expand the comment "Only list the standards we care about." to
list the standards we reviewed when making this list, that way a future
developers can review.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list