mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00
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:
parent
d117e7d5b5
commit
b397596105
@ -948,6 +948,8 @@ convert_and_encode:
|
||||
if (end == NULL)
|
||||
break;
|
||||
begin = end + 1;
|
||||
if ('\0' == *begin)
|
||||
begin++;
|
||||
}
|
||||
|
||||
if (srcbuf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user