mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
(_dl_update_slotinfo): Copy all of the initial DTV.
This commit is contained in:
@ -634,7 +634,7 @@ _dl_update_slotinfo (unsigned long int req_modid)
|
||||
newp = malloc ((2 + newsize) * sizeof (dtv_t));
|
||||
if (newp == NULL)
|
||||
oom ();
|
||||
memcpy (newp, &dtv[-1], oldsize * sizeof (dtv_t));
|
||||
memcpy (newp, &dtv[-1], (2 * oldsize) * sizeof (dtv_t));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user