diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-09-23 04:20:05 +0200 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-10-02 00:38:12 +0200 |
commit | e2a2a24a8e78427ff8667d625f5befbe88c328bb (patch) | |
tree | a2cc2e7cd4bf621d7a18ecde02f77d1ceec9cd64 /gdb/dwarf2/macro.h | |
parent | 1eb6eb795fd3479c97d8aadc4f70d6afad5f8511 (diff) | |
download | binutils-e2a2a24a8e78427ff8667d625f5befbe88c328bb.zip binutils-e2a2a24a8e78427ff8667d625f5befbe88c328bb.tar.gz binutils-e2a2a24a8e78427ff8667d625f5befbe88c328bb.tar.bz2 |
Preinitialize the sockaddr_un variable to zero
Don't pass random sun_len for the BSD's,
zero the whole structure as recommended for portability.
Reported by Coverity.
gdbsupport/ChangeLog:
* agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
Diffstat (limited to 'gdb/dwarf2/macro.h')
0 files changed, 0 insertions, 0 deletions