| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
vm_alloced buffer, deallocate it.
|
|
|
|
| |
removed any empty space at the beginning of BUF.
|
|
|
|
|
|
| |
(packet_new_size): New function.
(packet_read): Re-arrange to be slightly less confusing.
Reverse start-past-buf-beginning test that may have leaked memory.
|
|
|
|
|
| |
(packet_read): When a page-aligned read consumes the whole buffer, but there's
a non-page-multiple amount available, don't let buf_len go negative.
|
|
|
|
| |
but doesn't a page-multiple amount of data and we're reading everything.
|
|
|