1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Assume worst case all-encoded case here
This commit is contained in:
Rasmus Lerdorf
2010-03-01 23:49:01 +00:00
parent a3ec3b003d
commit fcf1058d6b
+1 -1
View File
@@ -1267,7 +1267,7 @@ static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fn
break;
}
out_size -= ((nbytes_required - (char_cnt - 2)) + 1) / (3 - 1);
out_size -= ((nbytes_required - (char_cnt - 2)) + 1) / 3;
in_left = ini_in_left;
in_p = ini_in_p;
}