Fix another old/ancient issue in stream converters.

This commit is contained in:
Pale Moon
2017-04-22 11:49:58 +02:00
committed by roytam1
parent 3a65fd7edd
commit 60e8a2f61d
@@ -170,7 +170,9 @@ nsresult nsBinHexDecoder::ProcessNextState(nsIRequest * aRequest, nsISupports *
break;
case BINHEX_STATE_FNAME:
mName.BeginWriting()[mCount] = c;
if (mCount < mName.Length()) {
mName.BeginWriting()[mCount] = c;
}
if (++mCount > mName.Length())
{