We weren't tracking the buffer size in one case, which was rewarded with

a segment violation due to NULL pointer access.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24975 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-04-15 21:21:45 +00:00
parent 5b53519c63
commit ae3633b049
@@ -77,6 +77,7 @@ UnixBufferQueue::Read(size_t size, net_buffer** _buffer)
}
bytesLeft -= toCopy;
fSize -= toCopy;
}
return B_OK;