[PATCH] Fix an issue where bird may accidently close a socket

Ondrej Zajicek santiago at crfreenet.org
Mon May 27 17:12:48 CEST 2019


On Mon, May 27, 2019 at 02:28:52PM +0200, Kenth Eriksson wrote:
> Datagram sockets may return 0 and stream sockets can return 0
> if the requested number of bytes to read is 0.

Hi

You mean that if count arg to read() is 0?

How that may happen?

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list