diff options
author | Tom Tromey <tom@tromey.com> | 2018-07-26 17:48:40 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-10-03 15:19:06 -0600 |
commit | 10657c047e4e0257440c80fda5f4e23a3452616c (patch) | |
tree | 68d91988f0db35427f735036697378d5793e689f /opcodes/z80-dis.c | |
parent | fb9bbfd7f2d39a1d4850fcf0f63ef1f077f55e4b (diff) | |
download | binutils-gdb-10657c047e4e0257440c80fda5f4e23a3452616c.tar.gz |
Do not pass NULL to memcpy
-fsanitize=undefined pointed out a spot that passes NULL to memcpy,
which is undefined behavior according to the C standard.
gdb/ChangeLog
2018-10-03 Tom Tromey <tom@tromey.com>
* namespace.c (add_using_directive): Don't pass NULL to memcpy.
Diffstat (limited to 'opcodes/z80-dis.c')
0 files changed, 0 insertions, 0 deletions