diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2000-07-05 22:34:10 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-05 22:34:10 +0000 |
| commit | 11b3488225fff62fe08631c3d2a2d2ec6c48d90c (patch) | |
| tree | 06335438eb3da12bbc5d0d2d0d86f02a17c2a926 | |
| parent | f3e29a1a0f56035dcc343afea952dd8c0d4f42d0 (diff) | |
| download | glibc-11b3488225fff62fe08631c3d2a2d2ec6c48d90c.tar.xz glibc-11b3488225fff62fe08631c3d2a2d2ec6c48d90c.zip | |
Update.
* crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
string got copied in.
Patch by Solar Designer <solar@false.com>.
2000-07-05 Andreas Jaeger <aj@suse.de>
* manual/install.texi (Installation): Update information about
add-ons.
(Configuring and compiling): Update for glibc 2.2.
2000-07-04 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
(_FPU_IEEE): Likewise.
* math/Makefile (tests): Add test-fpucw.
* math/test-fpucw.c (main): New file.
2000-07-05 Ulrich Drepper <drepper@redhat.com>
36 files changed, 386 insertions, 276 deletions
@@ -1,5 +1,26 @@ 2000-07-05 Ulrich Drepper <drepper@redhat.com> + * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt + string got copied in. + Patch by Solar Designer <solar@false.com>. + +2000-07-05 Andreas Jaeger <aj@suse.de> + + * manual/install.texi (Installation): Update information about + add-ons. + (Configuring and compiling): Update for glibc 2.2. + +2000-07-04 Andreas Jaeger <aj@suse.de> + + * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. + (_FPU_IEEE): Likewise. + + * math/Makefile (tests): Add test-fpucw. + + * math/test-fpucw.c (main): New file. + +2000-07-05 Ulrich Drepper <drepper@redhat.com> + * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning. * locale/programs/ld-collate.c (collate_output): Also write out the diff --git a/crypt/md5-crypt.c b/crypt/md5-crypt.c index 3b20ed157d..6340502193 100644 --- a/crypt/md5-crypt.c +++ b/crypt/md5-crypt.c @@ -60,6 +60,8 @@ __md5_crypt_r (key, salt, buffer, buflen) size_t key_len; size_t cnt; char *cp; + int key_copied = 0; + int salt_copied = 0; /* Find beginning of salt string. The prefix should normally always be present. Just in case it is not. */ @@ -77,6 +79,7 @@ __md5_crypt_r (key, salt, buffer, buflen) - (tmp - (char *) 0) % __alignof__ (md5_uint32), key, key_len); assert ((key - (char *) 0) % __alignof__ (md5_uint32) == 0); + key_copied = 1; } if ((salt - (char *) 0) % __alignof__ (md5_uint32) != 0) @@ -86,6 +89,7 @@ __md5_crypt_r (key, salt, buffer, buflen) - (tmp - (char *) 0) % __alignof__ (md5_uint32), salt, salt_len); assert ((salt - (char *) 0) % __alignof__ (md5_uint32) == 0); + salt_copied = 1; } /* Prepare for the real work. */ @@ -215,8 +219,16 @@ __md5_crypt_r (key, salt, buffer, buflen) /* Clear the buffer for the intermediate result so that people attaching to processes or reading core dumps cannot get any - information. */ - memset (alt_result, '\0', sizeof (alt_result)); + information. We do it in this way to clear correct_words[] + inside the MD5 implementation as well. */ + __md5_init_ctx (&ctx); + __md5_finish_ctx (&ctx, alt_result); + memset (&ctx, '\0', sizeof (ctx)); + memset (&alt_ctx, '\0', sizeof (alt_ctx)); + if (key_copied) + memset (key, '\0', key_len); + if (salt_copied) + memset (salt, '\0', salt_len); return buffer; } diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 0ce505a819..a6bafc9a35 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,41 @@ +2000-07-05 NIIBE Yutaka <gniibe@chroot.org> + + * locales/th_TH: Update revision information. + (LC_CTYPE: alpha): Replace ";...;" with "..". + (LC_COLLATE: order): Quote with "". + +2000-07-04 Jakub Jelinek <jakub@redhat.com> + + * locales/en_GR (LC_IDENTIFICATION): Don't use iso8859-1 characters + in address. + * locales/hu_HU (LC_IDENTIFICATION): Likewise. + * locales/ro_RO (LC_IDENTIFICATION): Likewise. + * locales/ru_RU (LC_IDENTIFICATION): Likewise. + * locales/es_AR (LC_IDENTIFICATION): Fix address of RAP. + * locales/es_BO (LC_IDENTIFICATION): Likewise. + * locales/es_CL (LC_IDENTIFICATION): Likewise. + * locales/es_CO (LC_IDENTIFICATION): Likewise. + * locales/es_DO (LC_IDENTIFICATION): Likewise. + * locales/es_EC (LC_IDENTIFICATION): Likewise. + * locales/es_ES (LC_IDENTIFICATION): Likewise. + * locales/es_GT (LC_IDENTIFICATION): Likewise. + * locales/es_HN (LC_IDENTIFICATION): Likewise. + * locales/es_MX (LC_IDENTIFICATION): Likewise. + * locales/es_PA (LC_IDENTIFICATION): Likewise. + * locales/es_PE (LC_IDENTIFICATION): Likewise. + * locales/es_PY (LC_IDENTIFICATION): Likewise. + * locales/es_SV (LC_IDENTIFICATION): Likewise. + * locales/es_US (LC_IDENTIFICATION): Likewise. + * locales/es_UY (LC_IDENTIFICATION): Likewise. + * locales/es_VE (LC_IDENTIFICATION): Likewise. + * locales/fr_CA (LC_IDENTIFICATION): Likewise. + * locales/tr_TR (LC_IDENTIFICATION): Likewise. + * locales/no_NO (LC_TELEPHONE): Fill in. + * locales/pt_PT (LC_TELEPHONE): Fill in. + * locales/sv_SE (LC_TELEPHONE): Fill in. + * locales/en_GB (LC_TELEPHONE): Fill in. + * locales/cs_CZ (LC_TELEPHONE): Fill in. + 2000-07-04 Ulrich Drepper <drepper@redhat.com> * tst-fmon.sh (LC_ALL): Define to C for localedef run. diff --git a/localedata/locales/cs_CZ b/localedata/locales/cs_CZ index 05e4ba4f3b..18f3a0facf 100644 --- a/localedata/locales/cs_CZ +++ b/localedata/locales/cs_CZ @@ -2456,7 +2456,7 @@ END LC_PAPER LC_TELEPHONE tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/ <U006C>" -tel_dom_fmt "<U0025><U0061><U0020><U0025><U006C>" +tel_dom_fmt "<U0028><U0030><U0025><U0061><U0029><U0020><U0025><U006C>" int_select "<U0030><U0030>" int_prefix "<U0034><U0032><U0030>" END LC_TELEPHONE diff --git a/localedata/locales/el_GR b/localedata/locales/el_GR index c2da377d57..2ca321e5ba 100644 --- a/localedata/locales/el_GR +++ b/localedata/locales/el_GR @@ -22,7 +22,7 @@ escape_char / LC_IDENTIFICATION title "Greek locale for Greece" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/en_GB b/localedata/locales/en_GB index 39a4b0f65d..40893457cc 100644 --- a/localedata/locales/en_GB +++ b/localedata/locales/en_GB @@ -130,6 +130,7 @@ LC_TELEPHONE tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/ <U006C>" tel_dom_fmt "<U0025><U0061><U0020><U0025><U006C>" +int_select "<U0030><U0030>" int_prefix "<U0034><U0034>" END LC_TELEPHONE diff --git a/localedata/locales/es_AR b/localedata/locales/es_AR index 455bde807d..4dcfd8b9fa 100644 --- a/localedata/locales/es_AR +++ b/localedata/locales/es_AR @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Argentina" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_BO b/localedata/locales/es_BO index 228b643d34..e08a73f617 100644 --- a/localedata/locales/es_BO +++ b/localedata/locales/es_BO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Bolivia" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_CL b/localedata/locales/es_CL index 2aefc1418b..f0d795ef2b 100644 --- a/localedata/locales/es_CL +++ b/localedata/locales/es_CL @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Chile" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_CO b/localedata/locales/es_CO index 79a09d2b31..a6e91be43d 100644 --- a/localedata/locales/es_CO +++ b/localedata/locales/es_CO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Colombia" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_DO b/localedata/locales/es_DO index 85ea6a53d9..4fda017766 100644 --- a/localedata/locales/es_DO +++ b/localedata/locales/es_DO @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Dominican Republic" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_EC b/localedata/locales/es_EC index ae06a9b9e3..16fba0dc28 100644 --- a/localedata/locales/es_EC +++ b/localedata/locales/es_EC @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Equador" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_ES b/localedata/locales/es_ES index 70241b2f1b..ea3b162c89 100644 --- a/localedata/locales/es_ES +++ b/localedata/locales/es_ES @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Spain" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_GT b/localedata/locales/es_GT index 45a0f75dce..320d2237a2 100644 --- a/localedata/locales/es_GT +++ b/localedata/locales/es_GT @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Guatemala" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_HN b/localedata/locales/es_HN index 9d73b35fbe..4731f55974 100644 --- a/localedata/locales/es_HN +++ b/localedata/locales/es_HN @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Honduras" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_MX b/localedata/locales/es_MX index 9830cecfff..18a6265ac9 100644 --- a/localedata/locales/es_MX +++ b/localedata/locales/es_MX @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Mexico" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_PA b/localedata/locales/es_PA index cc3d6d0958..19236d2e71 100644 --- a/localedata/locales/es_PA +++ b/localedata/locales/es_PA @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Panama" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_PE b/localedata/locales/es_PE index cf8face90e..d57ed36d6d 100644 --- a/localedata/locales/es_PE +++ b/localedata/locales/es_PE @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Peru" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_PY b/localedata/locales/es_PY index de21e2e3e0..1af0e73238 100644 --- a/localedata/locales/es_PY +++ b/localedata/locales/es_PY @@ -23,7 +23,7 @@ escape_char / LC_IDENTIFICATION title "Spanish locale for Paraguay" source "RAP" -address "Sankt Jo<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" +address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" contact "" email "bug-glibc@gnu.org" tel "" diff --git a/localedata/locales/es_SV b/localedata/locales/es_SV index eff14d3254..bce7039d4f 100644 --- a/localedata/ |
