Hi,

I think I may have a similar problem with frm segfaulting. Looking at the
code, it dies around line 366 of frm/common.c when trying to do the
strcmp. It appears that get_charset() can easily return NULL with its
current implementation when LANG and LC_ALL are both not set. This then
passes a NULL to strcmp, which segfaults.

An easy solution is to check before returning from get_charset() that the
output_charset isn't NULL, and if it is, setting it to something like
"ASCII". It appears someone tried to do this, but put the if statement too
far inside the braces in get_charset().

Thanks
-Todd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to