File ldvd-ls-sprint-nullbyte.diff of Package ldvd

--- ldvd-ls.c.orig	2005-07-17 16:37:05.000000000 +0200
+++ ldvd-ls.c	2005-10-11 20:02:06.000000000 +0200
@@ -211,7 +211,7 @@
 	subp_attr_t *subp_attr;
 	pgc_t *pgc;
 	int i, j, c, titles, cell, vts_ttn, title_set_nr;
- 	char lang_code[2];
+ 	char lang_code[3];
 	char *dvd_device = "/dev/dvd";
 	int has_title = 0, ret = 0;
         int max_length = 0, max_track = 0;
@@ -450,7 +450,7 @@
 			for (i=0; i<pgc->nr_of_programs; i++)
 	                {
        				int second=0, minute=0, hour=0, tmp;
-	                        char hex[2];
+	                        char hex[3];
 	                        int next = pgc->program_map[i+1];
 				unsigned long sectors = 0;
 	                        if (i == pgc->nr_of_programs - 1) next = pgc->nr_of_cells + 1;