bug 300335 allocate enough memory

patch by Andrew Schultz <ajschult@verizon.net> r+sr=mscott a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176560 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2005-07-25 21:06:44 +00:00
parent 4c4138d05e
commit 04f56b9cb6

View File

@@ -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;