зеркало из https://github.com/mozilla/gecko-dev.git
bug 300335 allocate enough memory
patch by Andrew Schultz <ajschult@verizon.net> r+sr=mscott a=bsmedberg
This commit is contained in:
Родитель
6284578ea0
Коммит
3f1e13dd52
|
@ -212,7 +212,7 @@ struct cs_info * get_current_cs(const char * es) {
|
|||
if (NS_FAILED(rv))
|
||||
return nsnull;
|
||||
|
||||
ccs = (struct cs_info *) malloc(0xff * sizeof(cs_info));
|
||||
ccs = (struct cs_info *) malloc(256 * sizeof(cs_info));
|
||||
|
||||
PRInt32 charLength = 256;
|
||||
PRInt32 uniLength = 512;
|
||||
|
|
Загрузка…
Ссылка в новой задаче