]> git.meshlink.io Git - catta/commitdiff
socket: ignore packet if FIONREAD returns zero
authorLudwig Nussel <ludwig.nussel@suse.de>
Wed, 19 May 2010 13:43:44 +0000 (15:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 25 Jun 2010 00:36:10 +0000 (02:36 +0200)
zero size is reported for corrupt packets. recvmsg() later could
nevertheless get data from a good packet that followed the bad one.
So get out early to avoid hitting an assertion.


No differences found