Index: elf.c =================================================================== RCS file: /cvs/uberbaum/bfd/elf.c,v retrieving revision 1.121 diff -u -p -2 -r1.121 elf.c --- elf.c 2002/01/10 23:05:21 1.121 +++ elf.c 2002/01/15 11:50:18 @@ -6261,5 +6261,5 @@ elfcore_grok_win32pstatus (abfd, note) return true; - memcpy (&pstatus, note->descdata, note->descsz); + memcpy (&pstatus, note->descdata, sizeof (pstatus)); switch (pstatus.data_type)