aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/read.c
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-09-23 04:20:05 +0200
committerKamil Rytarowski <n54@gmx.com>2020-10-02 00:38:12 +0200
commite2a2a24a8e78427ff8667d625f5befbe88c328bb (patch)
treea2cc2e7cd4bf621d7a18ecde02f77d1ceec9cd64 /gdb/dwarf2/read.c
parent1eb6eb795fd3479c97d8aadc4f70d6afad5f8511 (diff)
downloadbinutils-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/read.c')
0 files changed, 0 insertions, 0 deletions