In MIME encoder, put a check at the end of the loop if the source points to a null character then bump the

pointer. This fixes a problem when a separator is at the end of a header string. Bug 9762, r=cata.
This commit is contained in:
nhotta%netscape.com 1999-11-18 03:24:56 +00:00
Родитель d117e7d5b5
Коммит b397596105
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -948,6 +948,8 @@ convert_and_encode:
if (end == NULL)
break;
begin = end + 1;
if ('\0' == *begin)
begin++;
}
if (srcbuf)