mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Fix for bug 100595. Resetting cursor after buffer has been prepended with the boundary string. r/sr=darin/dougt
This commit is contained in:
parent
0cdb544041
commit
3bcf4f269a
@ -453,6 +453,8 @@ nsMultiMixedConv::OnDataAvailable(nsIRequest *request, nsISupports *context,
|
||||
nsCRT::memcpy(tmp+mTokenLen+1, cursor, read);
|
||||
nsMemory::Free(buffer);
|
||||
buffer = tmp;
|
||||
// need to reset cursor to the buffer again (bug 100595)
|
||||
cursor = buffer;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user