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
..
2015-05-12 11:37:52 +02:00
2015-05-12 11:37:52 +02:00
2013-10-04 18:51:42 -04:00
2015-05-12 11:37:52 +02:00
2015-05-12 11:37:52 +02:00
2005-02-17 01:19:55 +00:00
2009-11-17 16:23:57 -08:00
2009-11-17 16:23:57 -08:00