All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] workaround fix for segfault with CHANNEL file
@ 2012-05-13 12:17 André Roth
  2012-05-13 12:17 ` [PATCH 2/8] fixed off by one parameter check error André Roth
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: André Roth @ 2012-05-13 12:17 UTC (permalink / raw)
  To: linux-media; +Cc: André Roth

---
 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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-05-16 21:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-13 12:17 [PATCH 1/8] workaround fix for segfault with CHANNEL file André Roth
2012-05-13 12:17 ` [PATCH 2/8] fixed off by one parameter check error André Roth
2012-05-13 12:17 ` [PATCH 4/8] use extern C for c++ André Roth
2012-05-13 12:17 ` [PATCH 5/8] added m4 directory to gitignore André Roth
2012-05-13 14:21   ` Gregor Jasny
2012-05-16 21:28     ` André Roth
2012-05-13 12:17 ` [PATCH 6/8] fixed bw for DVB-S André Roth
2012-05-13 12:17 ` [PATCH 7/8] renamed dvb_frontend.h to dvb-frontend.h André Roth
2012-05-13 12:17 ` [PATCH 8/8] split README for utils/dvb/ and lib/libdvbv5 André Roth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.