libpthread_db: leave the memset size from unchanged.
The size for the memset in pt_map_thread() shouldn't actually match the reallocarray() so undo that part of r317200. X-MFC with: r317200
This commit is contained in:
parent
1f2b051d84
commit
febd54ebb7
@ -100,7 +100,7 @@ pt_map_thread(const td_thragent_t *const_ta, psaddr_t pt, enum pt_type type)
|
||||
if (new == NULL)
|
||||
return (-1);
|
||||
memset(new + ta->map_len, '\0', ta->map_len *
|
||||
2 * sizeof(struct pt_map));
|
||||
sizeof(struct pt_map));
|
||||
first = ta->map_len;
|
||||
ta->map = new;
|
||||
ta->map_len *= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user