diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-07-30 16:27:29 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-07-30 16:27:29 +0000 |
commit | 169e70e80afebd781d28e396e81ef57692eded9e (patch) | |
tree | 180e36325fa20942a91cd33d6d0096a0a1486303 /usr.sbin/ypbind | |
parent | 1dd8351a33c6c5e92f32cab5b1999d2fb40dd27c (diff) |
there's a nasty little race condition when the neigbor reached max-prefix
and at the same time there is messages from him in the socket buffer,
because we process the imsgs from the RDE (which tells us max-prefix was
reached) first, and put the session to IDLE, close connection and
deallocate buffers. if we then try to read from the socket and write to the
deallocated buffer we crash, of course. so check wether we have a buffer
before reading.
crash seen and fix tested by "Sylwester S. Biernacki" <obeer@obeer.com>
Diffstat (limited to 'usr.sbin/ypbind')
0 files changed, 0 insertions, 0 deletions