[vlc-commits] commit: Fixed potential use of non initialized value in corrupted nuv files . (Laurent Aimar )
git at videolan.org
git at videolan.org
Wed Nov 3 20:22:17 CET 2010
vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Nov 2 21:16:42 2010 +0100| [81187db5f9f7730634965bada4eaea8f1dcb7ec3] | committer: Rémi Duraffort
Fixed potential use of non initialized value in corrupted nuv files.
(cherry picked from commit bc19735206f7520b20e53c7935cb06fea9b43e4b)
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=81187db5f9f7730634965bada4eaea8f1dcb7ec3
---
modules/demux/nuv.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/demux/nuv.c b/modules/demux/nuv.c
index 3fbcfa5..40b5aa0 100644
--- a/modules/demux/nuv.c
+++ b/modules/demux/nuv.c
@@ -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
{
More information about the vlc-commits
mailing list