Index: ttf.c =================================================================== --- ttf.c (revision 32859) +++ ttf.c (revision 32860) @@ -531,6 +531,11 @@ const char *end; ttfgui_ctx_t *ctx = caller_data; + if ((ctx->dlg[ctx->wsrc].val.str == NULL) || (ctx->dlg[ctx->wdst].val.str == NULL)) { + rnd_message(RND_MSG_ERROR, "missing from/to ranges for the character mapping\n"); + return; + } + src_from = conv_char_desc(ctx->dlg[ctx->wsrc].val.str, &end); if ((end[0] == '.') && (end[1] == '.')) src_to = conv_char_desc(end+2, &end);