[vlc-devel] commit: Fixed integer overflow in avi index creation. (Laurent Aimar )

git version control git at videolan.org
Wed Apr 8 22:36:56 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Apr  8 21:23:13 2009 +0200| [3e077c31e5bd5b3de046eb5340d32a95e1ffb51c] | committer: Laurent Aimar 

Fixed integer overflow in avi index creation.

It fixes #2583.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e077c31e5bd5b3de046eb5340d32a95e1ffb51c
---

 modules/demux/avi/avi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index ee755fa..643e3a6 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -106,7 +106,7 @@ typedef struct
     uint32_t     i_flags;
     off_t        i_pos;
     uint32_t     i_length;
-    uint32_t     i_lengthtotal;
+    int64_t      i_lengthtotal;
 
 } avi_entry_t;
 




More information about the vlc-devel mailing list