2 messages in net.sourceforge.lists.courier-users[courier-users] I find a BUG! in ISO2...
FromSent OnAttachments
hoshuMar 20, 2003 10:54 pm 
Sam VarshavchikMar 21, 2003 5:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] I find a BUG! in ISO2022JP support.Actions...
From:hoshu (hos@shinnyo-en.or.jp)
Date:Mar 20, 2003 10:54:40 pm
List:net.sourceforge.lists.courier-users

I find a BUG in iso2022jp.c

It causes "core dump" on Solaris system, when IMAP search string of iso2022jp.

The BUG is in unicode/iso2022jp.c line 208.

Non-Initialized value. To be corrected as follows!

/* Count the number of potential unicode characters first. */ i = cnt = 0; jchar.type = 0; /* add! if not cnt size differs */ jchar.value = 0; /* add! if not cnt size differs */ while (jis_str[i]) { i += read_jis_char(&jis_str[i], &jchar); if (jchar.value > 0) ++cnt; }