mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 21:17:52 +00:00
bug 300335 allocate enough memory
patch by Andrew Schultz <ajschult@verizon.net> r+sr=mscott a=bsmedberg
This commit is contained in:
parent
6284578ea0
commit
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user