diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-05-29 16:39:52 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-05-29 16:39:52 +0000 |
commit | f9661b97c52f14135d1ecd40c593d21d8e740598 (patch) | |
tree | 25fa2b904839e936a6b496a2778e4387319e086b /gnu/lib/libregex/test/debugmalloc.c | |
parent | 19dcd1c0c98ec23509630b0a17eef3820be1428d (diff) | |
download | FreeBSD-src-f9661b97c52f14135d1ecd40c593d21d8e740598.zip FreeBSD-src-f9661b97c52f14135d1ecd40c593d21d8e740598.tar.gz |
This is another bug fix that should have gone into my last commit. I
actually had this done at one point and lost it somewhere along the
line. Again, this is an honest to gosh bug fix only: no functionality
is changed.
- After a child broadcaster process dies or is killed, set its dom_pipe_fds
descriptors to -1 so that the 'READFD > 0' test in the select() loop
does the right thing.
Since descriptor values can be re-used, failure to do this can lead
to a situation where a descriptor for an RPC socket can be mistaken for
a pipe. If this happens, RPC sockets could be incorrectly handed off to
handle_children(), which would then clear the descriptor from the select()
descriptor mask and prevent svc_getreqset() from handling them. The end
result would be that some RPC events would go unserviced. Curiously,
the failures only happen intermittently.
Diffstat (limited to 'gnu/lib/libregex/test/debugmalloc.c')
0 files changed, 0 insertions, 0 deletions