r11629: fixed a bug found with the socket:testnonblock code. With randomised
commit9c95015b9cccc10a5ba1facd4b48c0fff34e9588
authorAndrew Tridgell <tridge@samba.org>
Thu, 10 Nov 2005 04:49:02 +0000 (10 04:49 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:01 +0000 (10 13:46 -0500)
tree75f7317389aa120b7bd704001cb9bd58a0508b6d
parentd340ea7906c091a1400d3e73a8f530174aa8a965
r11629: fixed a bug found with the socket:testnonblock code. With randomised
under-reads we could end up supplying a buffer to the client that has
an incorrect length
source/lib/stream/packet.c