avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

如果用户配置了超过 15 个标点映射,会导致 ibus-sunpinyin seg fault #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

CPairParser::parse(const std::vector<std::string> pairs)

size_t npairs = std::min(sizeof(m_pairs)/sizeof(m_pairs[0]),
                             pairs.size());

Original issue reported on code.google.com by tchai...@gmail.com on 16 Mar 2010 at 5:16

GoogleCodeExporter commented 9 years ago

Original comment by tchai...@gmail.com on 17 Mar 2010 at 3:11