Missing memory barrier in DES initialization.
This commit is contained in:
parent
90a3055e8b
commit
647450cfb0
|
@ -1,5 +1,9 @@
|
|||
2010-04-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #11449]
|
||||
* crypt/crypt_util.c (__init_des_r): Add memory barrier before setting
|
||||
small_tables_initialized.
|
||||
|
||||
* malloc/malloc.c (_int_free): Add one more sanity check for fastbins.
|
||||
|
||||
* malloc/malloc.c (set_max_fast): Fix computation of the value.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* UFC-crypt: ultra fast crypt(3) implementation
|
||||
*
|
||||
* Copyright (C) 1991, 92, 93, 96, 97, 98, 2000 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1991-1993,1996-1998,2000,2010 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -468,6 +468,7 @@ __init_des_r(__data)
|
|||
efp[comes_from_word][word_value][o_long] |= mask2;
|
||||
}
|
||||
}
|
||||
atomic_write_barrier ();
|
||||
small_tables_initialized = 1;
|
||||
#ifdef __GNU_LIBRARY__
|
||||
small_tables_done:
|
||||
|
|
Loading…
Reference in New Issue