(_dl_update_slotinfo): Copy all of the initial DTV.

This commit is contained in:
Ulrich Drepper 2008-10-16 21:45:59 +00:00
parent 472e5e0814
commit fb862ace67
1 changed files with 1 additions and 1 deletions

View File

@ -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
{