file_cache_write() can get a NULL buffer and still a size != 0, which the

request handling wasn't taking into account.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37640 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-07-21 09:55:04 +00:00
parent 9bc87c767b
commit 83f46ed6ab
3 changed files with 19 additions and 6 deletions
@@ -1838,6 +1838,7 @@ public:
void* cookie;
Address buffer;
size_t size;
off_t pos;
};