summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/kernel.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-05-15 09:56:49 +0000
committerdg <dg@FreeBSD.org>1995-05-15 09:56:49 +0000
commitc643e3acd9013c5cf4c2b0e3976d702c5558a6dc (patch)
tree7990a17de60e99fbd694ce1a7c561e3d6912b73f /gnu/lib/libdialog/kernel.c
parent17fc6d821ba7bf0df9f5d1e8ec9f23f3ea7eb972 (diff)
downloadFreeBSD-src-c643e3acd9013c5cf4c2b0e3976d702c5558a6dc.zip
FreeBSD-src-c643e3acd9013c5cf4c2b0e3976d702c5558a6dc.tar.gz
Fully initialize (bzero) the stack-allocated "struct sockaddr_in server"
structure. Random junk on the stack would cause the call to bind to fail in some cases (since the address portion wasn't initialized).
Diffstat (limited to 'gnu/lib/libdialog/kernel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud