From: Aleksey C. <vl...@gm...> - 2004-02-18 12:46:39
|
Kuang-che Wu <kc...@kc...> writes: > Hello, > > I found one problem related with utf8 character and toupper(). > When I use utf8 dictionary and running dictd in utf8 locale, > dictd crashed. > > In index.c, line 1971, > i->optStart[toupper(c(j))] > = i->optStart[c(j)] > = binary_search_8bit( buf, i, i->start, i->end ); > when c(j)==0xb5, > it's "greek small letter mu" in unicode. > In my environment, toupper(c(j)) will return 0x39C, > "greek capital letter mu". > > then array out of boundary, crash. This bug is already fixed. Upgrade your dictd to 1.9.11 -- Best regards, Aleksey Cheusov. |