mirror of
https://github.com/autc04/Retro68.git
synced 2025-08-15 01:28:22 +00:00
Prevent stack overrun in binutils (issue #69)
This commit is contained in:
@@ -468,19 +468,10 @@ _bfd_xcoff_swap_aux_in (bfd *abfd, void * ext1, int type, int in_class,
|
||||
in->x_file.x_n.x_offset =
|
||||
H_GET_32 (abfd, ext->x_file.x_n.x_n.x_offset);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (numaux > 1)
|
||||
{
|
||||
if (indx == 0)
|
||||
memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname,
|
||||
numaux * sizeof (AUXENT));
|
||||
}
|
||||
else
|
||||
{
|
||||
memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN);
|
||||
}
|
||||
}
|
||||
goto end;
|
||||
|
||||
/* RS/6000 "csect" auxents */
|
||||
|
Reference in New Issue
Block a user