Solution
This error could be caused by one of two things:
- A data set is being written to a network buffer that is smaller than the size of the data.
- Data is read into a buffer that is too small to hold the full size of received data.
Make sure that the data you are reading or writing is not bigger than the buffer allocated to hold the data.