diff options
author | Nick Clifton <nickc@redhat.com> | 2021-03-16 12:44:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-03-16 12:44:50 +0000 |
commit | 012d44268695f1c5d4e2e019c610c8b99bd7e553 (patch) | |
tree | 3edc46955760196226b70e7e73cbf0d9fc904001 /gdb/glibc-tdep.c | |
parent | 7807d76a1cc193984c1bdfab456df97632ac721f (diff) | |
download | gdb-012d44268695f1c5d4e2e019c610c8b99bd7e553.zip gdb-012d44268695f1c5d4e2e019c610c8b99bd7e553.tar.gz gdb-012d44268695f1c5d4e2e019c610c8b99bd7e553.tar.bz2 |
Fix a potential buffer overrun qwhen writing out PE aux entries.
* peXXigen.c (_bfd_XXi_swap_aux_out): Avoid potential buffer
overrun by using sizeof of the destination x_fname field as the
limit for a memcpy.
* coff/internal.h (struct internal_auxent): Fix a couple of typos
in comment describing the x_fname field.
Diffstat (limited to 'gdb/glibc-tdep.c')
0 files changed, 0 insertions, 0 deletions