mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
fixes bug 94734 - crash on a bugzilla search
patch=ajschult@eos.ncsu.edu r/sr=darin,blizzard a=brendan
This commit is contained in:
parent
056ab42829
commit
92917600a6
@ -574,7 +574,7 @@ nsMultiMixedConv::OnDataAvailable(nsIRequest *request, nsISupports *context,
|
||||
PRUint32 bufAmt = 0;
|
||||
if (mProcessingHeaders)
|
||||
bufAmt = bufLen;
|
||||
else {
|
||||
else if (bufLen) {
|
||||
// if the data ends in a linefeed, and we're in the middle
|
||||
// of a "part" (ie. mPartChannel exists) don't bother
|
||||
// buffering, go ahead and send the data we have. Otherwise
|
||||
|
Loading…
x
Reference in New Issue
Block a user