aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-arch.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-12-28 15:28:19 +1030
committerAlan Modra <amodra@gmail.com>2014-12-28 15:34:01 +1030
commitde0d78958fe3db5184c5a7174f55f08d41c8706b (patch)
tree64ae2b93a4c00849e1cc9731b4d89d97972bce55 /gdb/python/py-arch.c
parentce637ffbe6b75a4a676bbf5f68434abf5261ba99 (diff)
downloadbinutils-de0d78958fe3db5184c5a7174f55f08d41c8706b.zip
binutils-de0d78958fe3db5184c5a7174f55f08d41c8706b.tar.gz
binutils-de0d78958fe3db5184c5a7174f55f08d41c8706b.tar.bz2
Misplaced parenthesis calculates two too few bytes for string
Factor out strlen to give better code and less likelihood of a repeat of this problem. PR 17766 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct string length. Use memcpy rather than strcpy.
Diffstat (limited to 'gdb/python/py-arch.c')
0 files changed, 0 insertions, 0 deletions