Fixed potential use of non initialized value in corrupted nuv files.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 2 Nov 2010 20:16:42 +0000 (21:16 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 2 Nov 2010 20:18:13 +0000 (21:18 +0100)
modules/demux/nuv.c

index 3fbcfa5..40b5aa0 100644 (file)
@@ -809,6 +809,10 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys )
 
             i_kfa_elements = fh.i_length / 8;
         }
+        else
+        {
+            i_kfa_elements = 0;
+        }
     }
     else
     {