diff options
author | 2005-12-24 14:11:13 +0000 | |
---|---|---|
committer | 2005-12-24 14:11:13 +0000 | |
commit | 97f91faff86e4069f158c7787ab13058eb5a38d3 (patch) | |
tree | f75855365419e94174a13b2ce534ef12d96f8fa6 /usr.bin/rcs/rcsprog.c | |
parent | Don't use bzero(&pfd, sizeof(pfd)); pfd is an array so bzero(pfd, sizeof(pfd)); (diff) | |
download | wireguard-openbsd-97f91faff86e4069f158c7787ab13058eb5a38d3.tar.xz wireguard-openbsd-97f91faff86e4069f158c7787ab13058eb5a38d3.zip |
bzero the pfd array before setting it up and calling poll because on error
(e.g. EINTR) poll() will not update the pfd array (copyout) and so the old
revents are used and results in a blocking parent process. OK dlg@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
0 files changed, 0 insertions, 0 deletions