mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-01 03:19:56 +00:00
Fix another old/ancient issue in stream converters.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user