Explain why we aren't using memcpy().
Reported by: jmg X-MFC with: r337715 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
845800e190
commit
27f4c235ee
@ -344,6 +344,7 @@ ucode_load_bsp(uintptr_t free)
|
||||
match = loader->match(fileaddr, &len);
|
||||
if (match != NULL) {
|
||||
addr = map_ucode(free, len);
|
||||
/* We can't use memcpy() before ifunc resolution. */
|
||||
for (i = 0; i < len; i++)
|
||||
addr[i] = match[i];
|
||||
match = addr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user