Copy only as much information as possible to avoid stack corruption.
This commit is contained in:
parent
1caa7b2354
commit
e8eab623df
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-26 Egor Duda <deo@logos-m.ru>
|
||||
|
||||
* elf.c (elfcore_grok_win32pstatus): Copy only as much information
|
||||
as possible to avoid stack corruption.
|
||||
|
||||
2002-01-26 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext
|
||||
|
@ -33,7 +38,7 @@
|
|||
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
|
||||
unsigned overflow when new_offset < old_offset.
|
||||
|
||||
2002-24-01 Philipp Thomas <pthomas@suse.de>
|
||||
2002-01-24 Philipp Thomas <pthomas@suse.de>
|
||||
|
||||
* bfd.c (_bfd_abort): Fix typo.
|
||||
|
||||
|
|
|
@ -6282,7 +6282,7 @@ elfcore_grok_win32pstatus (abfd, note)
|
|||
if (note->descsz < sizeof (pstatus))
|
||||
return true;
|
||||
|
||||
memcpy (&pstatus, note->descdata, note->descsz);
|
||||
memcpy (&pstatus, note->descdata, sizeof (pstatus));
|
||||
|
||||
switch (pstatus.data_type)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue