зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d117e7d5b5
Коммит
b397596105
|
@ -948,6 +948,8 @@ convert_and_encode:
|
|||
if (end == NULL)
|
||||
break;
|
||||
begin = end + 1;
|
||||
if ('\0' == *begin)
|
||||
begin++;
|
||||
}
|
||||
|
||||
if (srcbuf)
|
||||
|
|
Загрузка…
Ссылка в новой задаче