--- utils/dvb/dvb-file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/dvb/dvb-file.c b/utils/dvb/dvb-file.c index eb269b4..e1f2195 100644 --- a/utils/dvb/dvb-file.c +++ b/utils/dvb/dvb-file.c @@ -141,7 +141,7 @@ struct dvb_file *parse_format_oneline(const char *fname, } if (table->size) { for (j = 0; j < table->size; j++) - if (!strcasecmp(table->table[j], p)) + if (!table->table[j] || !strcasecmp(table->table[j], p)) break; if (j == table->size) { sprintf(err_msg, "parameter %s invalid: %s", -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html