зеркало из https://github.com/mozilla/gecko-dev.git
Bugfix 7928
This commit is contained in:
Родитель
20892968ca
Коммит
16b974b648
|
@ -472,7 +472,7 @@ static REGERR nr_ReadFile(FILEHANDLE fh, REGOFF offset, int32 len, void *buffer)
|
|||
/* we'll assume the read was OK--this is a gamble but */
|
||||
/* missing errors will cause fewer problems than too many. */
|
||||
p = (unsigned char*)buffer + readlen;
|
||||
while ( (*p == (unsigned char)FILLCHAR) && (p < dbgend) ) {
|
||||
while ( (p < dbgend) && (*p == (unsigned char)FILLCHAR) ) {
|
||||
p++;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче