nooop3 / fcitx

Automatically exported from code.google.com/p/fcitx
GNU General Public License v2.0
0 stars 0 forks source link

自訂的詞庫,在長度過長時,會 buffer overflow #710

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
小弟的版本號為 fcitx-4.2.7

並在裡面加掛無蝦米 table

試著在詞庫裡新增了一段比較長的詞

例如,把 test 
對應到「一二三四五六七八九十一二三四五六七八九十一二��
�四五六七八九十」

test 
一二三四五六七八九十一二三四五六七八九十一二三四五六��
�八九十

於是當我重新啟動時,輸入 test 按空白

便會產生 buffer overflow 

附檔是詳細的 error log

不知道有沒有辦法,透過任何設定去新增超長的詞庫?

即便會比較浪費系統資源也沒關係 
(我有些常用的網址會記在這裡,所以必需常用:( )

感謝大家的協助了!

Original issue reported on code.google.com by Grassbo...@gmail.com on 23 Oct 2013 at 12:47

Attachments:

GoogleCodeExporter commented 8 years ago
can you try the latest version and see if it's fixed? (if it's easy for you), 
or can you send me your generated table file (.mb or .txt)?

By the way, you can use quick phrase, it can be triggered by semicolon by 
default.

https://fcitx-im.org/wiki/QuickPhrase

Original comment by wen...@gmail.com on 23 Oct 2013 at 3:53