glibc/locale
H.J. Lu 782723d6d8 Also check dead->data[category] != NULL
_nl_load_locale_from_archive (int category, const char **namep)

has

 for (cnt = 0; cnt < __LC_LAST; ++cnt)
    if (cnt != LC_ALL)
      {
        lia->data[cnt] = _nl_intern_locale_data (cnt,
                                                 results[cnt].addr,
                                                 results[cnt].len);
        if (__glibc_likely (lia->data[cnt] != NULL))
          {
...
          }
      }

lia->data[cnt] can be NULL, which happens to en_US.UTF-8 with
LC_COLLATE.  But this won't happen if glibc is configured with
--enable-hardcoded-path-in-tests.  We should also check
dead->data[category] != NULL.

	* locale/loadarchive.c (_nl_archive_subfreeres): Also check
	dead->data[category] != NULL.
2015-08-05 08:15:51 -07:00
..
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
programs Remove unused PREDEFINED_CLASSES code 2015-06-09 09:34:06 +02:00
broken_cur_max.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C_name.c
C-address.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-collate.c Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
C-ctype.c Remove unused PREDEFINED_CLASSES code 2015-06-09 09:34:06 +02:00
C-identification.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-measurement.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-messages.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-monetary.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-name.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-numeric.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-paper.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-telephone.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-time.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
C-translit.h Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
C-translit.h.in Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
categories.def Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
coll-lookup.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
coll-lookup.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
duplocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elem-hash.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
findlocale.c Avoid unsafe loc_name type casts with additional variable 2015-02-27 22:18:56 -03:00
freelocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gen-translit.pl Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
global-locale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
hashval.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
indigits.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
indigitswc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
iso-639.def Correcting language code for Bhili and Tulu locales (bug 17475) 2015-07-15 16:06:18 +05:30
iso-3166.def Fix typos in 3166.def. 2013-10-04 18:51:42 -04:00
iso-4217.def Revert incorrect removal of the XDR currency from locale/iso-4217.def 2014-05-03 23:45:15 -06:00
langinfo.h Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
lc-address.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-collate.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-ctype.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-identification.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-measurement.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-messages.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-monetary.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-name.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-numeric.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-paper.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-telephone.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lc-time.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
loadarchive.c Also check dead->data[category] != NULL 2015-08-05 08:15:51 -07:00
loadlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
locale.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
localeconv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
localeinfo.h Improve strcoll with strdiff. 2015-05-12 11:37:52 +02:00
localename.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
locarchive.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mb_cur_max.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
newlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nl_langinfo_l.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nl_langinfo.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
outdigits.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
outdigitswc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
strlen-hash.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
SYS_libc.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
tst-C-locale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-duplocale.c Add missing test files. 2009-11-17 16:23:57 -08:00
tst-locname.c Add missing test files. 2009-11-17 16:23:57 -08:00
uselocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions
weight.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
weightwc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xlocale.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xlocale.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00